Migrating to C28x Object Code
F-13Migration From C27x to C28x
For conditional branches on the C28x, the UNC code must always be specified
for unconditional tests. This will help to distinguish between unconditional
C2xLP branches (which have the same mnemonic ”B”).
F.3.2 Repeatable Instructions
On the C28x, additional instructions have been made repeatable. The follow-
ing two tables list those instructions that are repeatable on the C28x device.
These instructions are repeatable in both C27x compatible mode (OBJMODE
= 0) and C28x native mode (OBJMODE = 1). Any instruction that is not listed,
which follows a repeat instruction, will execute only once.
C27x operations that were already repeatable include the following:
ROR ACC
ROL ACC
NORM ACC,XARn++
NORM ACC,XARn−−
SUBCU ACC,loc16
MAC P,loc16,0:pma
MOV *(0:addr),loc16
MOV loc16,*(0:addr)
MOV loc16,#16bit
MOV loc16,#0
PREAD loc16,*XAR7
PWRITE *XAR7,loc16
NOP loc16