RPTS
Repeat Single Instruction
13-212
Example RPTS AR5
Before Instruction After Instruction
AR5 00 00FF AR5 00 00FF
PC 0123 PC 0124
RC 0RC 0FF
RE 0RE 124
RS 0RS 124
ST 0ST 100
LUF 0LUF 0
LV 0LV 0
UF 0UF 0
N0N0
Z0Z0
V0V0
C0C0
Because the block-repeat modes modify the program counter, no
other instruction can modify the program counter at the same time.
Therefore, the repeated instruction cannot be a B
cond
, BR,
DB
cond
, CALL, CALL
cond
, TRAP
cond
, RETI
cond
, RETS
cond
,
IDLE, IDLE2, RPTB, or RPTS. If this rule is violated, the PC will be
undefined.
Note:
The RPTS instruction cannot be interrupted because instruction fetches are
halted.