Texas Instruments MSP430x4xx Family User Manual page 275

Hide thumbs Also See for MSP430x4xx Family:
Table of Contents

Advertisement

Indirect Mode: Call a subroutine at the 20-bit address contained in the word
pointed to by register R5 (LSBs). The MSBs have the address (R5 + 2). Indi-
rect, indirect R5.
CALLA
@R5
Indirect, Auto-Increment Mode: Call a subroutine at the 20-bit address con-
tained in the words pointed to by register R5 and increment the 20-bit address
in R5 afterwards by 4. The next time the S/W flow uses R5 as a pointer, it can
alter the program execution due to access to the next word address in the table
pointed to by R5. Indirect, indirect R5.
CALLA
@R5+
Indexed Mode: Call a subroutine at the 20-bit address contained in the ad-
dress pointed to by register (R5 + X) e.g. a table with addresses starting at X.
(R5 + X) points to the LSBs, (R5 + X + 2) points to the MSBs of the word ad-
dress. X is within R5 ±32 K. Indirect, indirect (R5 + X).
CALLA
X(R5)
; Start address at @R5
; Start address at @R5. R5 + 4
; Start address at @(R5+X). z16(R5)
16-Bit MSP430X CPU
Address Instructions
4-161

Advertisement

Table of Contents
loading

Table of Contents