ADDB XARn, #7bit
6-33
ADDB XARn, #7bit Add 7-bit Constant to Auxiliary Register
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
ADDB XARn, #7bit 1101 1nnn 0CCC CCCC X − 1
Operands XARn XAR0−XAR7, 32-bit auxiliary registers
Description Add a 7-bit unsigned constant to XARn and store the result in XARn:
XARn = XARn + 0:7bit;
Flags and
Modes
None
Repeat This instruction is not repeatable. If this instruction follows the RPT instruction,
it resets the repeat counter (RPTC) and executes only once.
Example
MOVL XAR1,#VarA
MOVL XAR2,*XAR1
ADDB XAR2,#10h
; Initialize XAR1 pointer with address
; of VarA
; Load XAR2 with contents of VarA
; XAR2 = VarA + 0x10