Individual Instruction Descriptions
4-182
4.14.84
VCALL
Vectored Call
Syntax
[label]
name
dest
Clock, clk
Word, w
With RPT, clk
Class
VCALL
vector8
2
1
N/R
7a
Execution
Push PC + 1
PC
⇐
*(0x7F00 + vector8)
R7
⇐
R7 + 2
Flags Affected
None
Opcode
Instructions
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
VCALL vector8
1
1
1
1
1
1
1
0
1
vector8
Description
Unconditional vectored call (Macro call). Push next address onto stack, load
PC with the content of the address obtained by adding vector8 to 0x7F00. The
execution of the instruction continues from the new PC location. RET
instruction is used to return from VCALL. RET cannot immediately follow
VCALL. IRET can be used instead of RET and IRET can immidiately follow
VCALL. VCALL is used to call frequently used routines and takes 1 word.
See Also
RET, IRET, CALL, Ccc
Example 4.14.84.1
VCALL 0x7F02
Loads PC value with the program memory address stored in program memory location 0x7F02.
Содержание 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...