Individual Instruction Descriptions
4-85
Assembly Language Instructions
4.14.8 CALL
Unconditional Subroutine Call
Syntax
[label]
name
address
Clock, clk
Word, w
With RPT, clk
Class
CALL
pma16
2
2
N/R
7c
CALL
*An
2
1
N/R
7c
Execution
R7
⇐
R7 + 2
*R7
⇐
TOS
TOS
⇐
PC + 2
PC
⇐
*An or pma16
Flags Affected
None
Opcode
Instructions
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CALL pma16
1
0
0
0
0
1
0
1
0
1
0
1
1
1
1
1
0
x
pma16
CALL *An
1
0
0
0
1
1
0
An†
0
0
0
1
1
1
1
0
† The value of An is in the following table.
An
Bit 9
Bit 8
A0
0
0
A1
0
1
A2
1
0
A3
1
1
Description
PC + w is pushed onto the top of stack (TOS) and the second word operand
or accumulator value is loaded into the PC. Call instructions cannot immedi-
ately followed by RET instructions. No restrictions apply if IRET is used instead
of RET.
Syntax
Description
CALL pma16
Unconditional call to specified program memory address pma16.
CALL *An
Call to address referenced by An.
See Also
Ccc, VCALL, RET, IRET
Example 4.14.8.1
CALL 0x2010
Call unconditionally program memory address 0x2010.
Example 4.14.8.2
CALL *A0
Call unconditionally program memory address stored in accumulator A0.
Содержание MSP50C6xx
Страница 1: ...MSP50C6xx Mixed Signal Processor User s Guide Mixed Signal Products SPSU014A Printed on Recycled Paper...
Страница 6: ...vi...
Страница 14: ...xiv...
Страница 24: ...1 10...
Страница 296: ...Instruction Set Summay 4 210 Assembly Language Instructions...
Страница 332: ...Implementation Details 5 36 R7 Return Addr Return Addr Param 2 Param 2 Param 1 Param 1 R5 Stack data Function call...
Страница 366: ...6 12...