Register Operations
6-7
C28x Assembly Language Instructions
2. Register Operations (Continued)
Mnemonic
Page
Description
AX Register Operations (AH, AL) (Continued)
MOVB
AX,#8bit
Load AX with 8-bit constant
MOVB
AX.LSB,loc16
Load LSB of AX reg, MSB = 0x00
MOVB
AX.MSB,loc16
Load MSB of AX reg, LSB = unchanged
MOVB
loc16,AX.LSB
Store LSB of AX reg
MOVB
loc16,AX.MSB
Store MSB of AX reg
NEG
AX
Negate AX register
NOT
AX
Complement AX register
OR
AX,loc16
Bitwise OR
OR
loc16,AX
Bitwise OR
ORB
AX,#8bit
Bitwise OR 8-bit value
SUB
AX,loc16
Subtract specified location from AX
SUB
loc16,AX
Subtract AX from specified location
SUBR
loc16,AX
Reverse-subtract specified location from AX
SXTB
AX
Sign extend LSB of AX reg into MSB
XOR
AX,loc16
Bitwise exclusive OR
XORB
AX,#8bit
Bitwise exclusive OR 8-bit value
XOR
loc16,AX
Bitwise exclusive OR
16-Bit ACC Register Operations
ADD
ACC,loc16 {<< 0..16}
Add value to accumulator
ADD
ACC,#16bit {<< 0..15}
Add value to accumulator
ADD
ACC,loc16 << T
Add shifted value to accumulator
ADDB
ACC,#8bit
Add 8-bit constant to accumulator
ADDCU
ACC,loc16
Add unsigned value plus carry to accumulator
ADDU
ACC,loc16
Add unsigned value to accumulator
AND
ACC,loc16
Bitwise AND
AND
ACC,#16bit {<< 0..16}
Bitwise AND
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...