EasyManua.ls Logo

Texas Instruments TMS320C28x

Texas Instruments TMS320C28x
695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 7bit immediate constant value
Description Subtract the 7bit 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

Table of Contents

Related product manuals