Migrating to C28x Object Code
Table F
−
3. Instruction Syntax Change
C27x Syntax
C28x Syntax
ADDB ARn,#7bit
ADDB XAR6/7,#7bit
ADDB XARn,#7bit
SUBB ARn,#7bit
SUBB XAR6/7,#7bit
SUBB XARn,#7bit
MOV AR0/../5,loc16
MOVZ AR0/../5,loc16
MOVB AR0/../5,#8bit
MOVB XAR0/../5,#8bit
MOV XAR6/7,loc32
MOVL XAR6/7,loc32
MOVL XAR6/7,loc32
MOV XAR6/7,#22bit
MOVL XAR6/7,#22bit
MOVL XAR6/7,#22bit
MOV loc32,XAR6/7
MOVL loc32,XAR6/7
MOVL loc32,XAR6/7
CALL 22bit
LC 22bit
LC 22bit
CALL *XAR7
LC *XAR7
LC *XAR7
RET
LRET
LRET
RETE
LRETE
LRETE
MOV
ACC,P {MOVP T,@T decode}
MOVL ACC,P << PM {MOVP T,@T decode}
ADD ACC,P {MOVA T,@T decode}
ADDL ACC,P << PM {MOVA T,@T decode}
SUB ACC,P {MOVS T,@T decode}
SUBL ACC,P << PM {MOVS T,@T decode}
CMP ACC,P
CMPL ACC,P << PM
MOV P,ACC
MOVL P,ACC
NORM ACC,ARn++
NORM ACC,XAR6/7++
NORM ACC,XARn++
NORM ACC,ARn−−
NORM ACC,XAR6/7−−
NORM ACC,XARn−−
B 16bitOff {unconditional}
SB 8bitOff {unconditional}
B 16bitOff,UNC [2]
SB 8bitOff,UNC [2]
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 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...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...