Texas Instruments TMS320C28x Reference Manual page 190

Dsp cpu and instruction set
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF