Texas Instruments TMS320C2XX Calculator User Manual


 
Instruction Set Comparison Table
B-28
Syntax
Description5x2xx2x1x
RPT
dma
RPT {
ind
}
[
, next ARP
]
RPT #
k
RPT #
lk
Repeat Next Instruction
TMS320C2x devices: Load the 8 LSBs of the ad-
dressed value into the RPTC; the instruction following
RPT is executed the number of times indicated by
RPTC + 1.
TMS320C2xx and TMS320C5x devices: Load the 8
LSBs of the addressed value or an 8-bit or 16-bit
immediate value into the RPTC; the instruction follow-
ing RPT is repeated
n
times, where
n
is RPTC+1.
RPTB
pma
Repeat Block
RPTB repeats a block of instructions the number of
times specified by the memory-mapped BRCR without
any penalty for looping. The BRCR must be loaded
before RPTB is executed.
RPTK #
k
Repeat Instruction as Specified by Immediate
Value
Load the 8-bit immediate value into the RPTC; the in-
struction following RPTK is executed the number of
times indicated by RPTC + 1.
RPTZ #
lk
Repeat Preceded by Clearing the Accumulator
and P Register
Clear the accumulator and product register and repeat
the instruction following RPTZ
n
times, where
n
=
lk
+1.
RSXM
Reset Sign-Extension Mode
Reset the SXM status bit to 0; this suppresses sign
extension on shifted data values for the following arith-
metic instructions: ADD, ADDT, ADLK, LAC, LACT,
LALK, SBLK, SUB, and SUBT.
RTC
Reset Test/Control Flag
Reset the TC status bit to 0.
RTXM
Reset Serial Port Transmit Mode
Reset the TXM status bit to 0; this configures the serial
port transmit section in a mode where it is controlled by
an FSX.
RXF
Reset External Flag
Reset XF pin and the XF status bit to 0.
SACB
Store Accumulator in ACCB
Copy the contents of the accumulator into the ACCB.