ADRK #8bit
ADRK #8bit
SYNTAX OPTIONS
ADRK #8bit
Operands
#8bit
Description
Flags and
ARP
Modes
Repeat
Example
TableA: .word 0x1111
FuncA:
MOVL XAR1,#TableA
MOVZ AR2,*XAR1
ADRK #2
MOVZ AR3,*XAR1
6-42
8-bit immediate constant value
Add the 8-bit unsigned constant to the XARn register pointed to by ARP:
XAR(ARP) = XAR(ARP) + 0:8bit;
The 3-bit ARP points to the current valid Auxiliary Register, XAR0 to XAR7.
This pointer determines which Auxiliary register is modified by the operation.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once
.word 0x2222
.word 0x3333
.word 0x4444
Add to Current Auxiliary Register
OPCODE
1111 1100 IIII IIII
; Initialize XAR1 pointer
; Load AR2 with the 16-bit value
; pointed to by XAR1 (0x1111)
; Set ARP = 1
; Increment XAR1 by 2
; Load AR3 with the 16-bit value
; pointed to by XAR1 (0x3333)
OBJMODE
RPT
CYC
X
−
1
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?