SUBB XARn,#7bit
6-342
SUBB XARn,#7bit Subtract 7-Bit From Auxiliary Register
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
SUBB XARn, #7bit 1101 1nnn 1CCC CCCC X − 1
Operands XARn XAR0 to XAR7, 32-bit auxiliary registers
#7bit 7−bit immediate constant value
Description Subtract the 7−bit unsigned constant from 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
SUBB XAR2,#10h‘
; Initialize XAR1 pointer with address
; of VarA
; Load XAR2 with contents of VarA
; XAR2 = VarA − 0x10