EasyManuals Logo

Texas Instruments TMS320C28x User Manual

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
Page #499 background imageLoading...
Page #499 background image
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

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TMS320C28x Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320C28x
CategoryProcessor
LanguageEnglish

Related product manuals