Texas-instruments TMS320C3x Manual de usuario Pagina 669

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 757
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 668
Repeat Single Instruction
RPTS
13-211
Assembly Language Instructions
Syntax RPTS
src
Operation
src
RC
1 ST (RM)
1 S
Next PC RS
Next PC RE
Operands
src
general addressing modes (G):
0 0 register
0 1 direct
1 0 indirect (disp = 0–255, IR0, IR1)
1 1 immediate
Opcode
31 24 23 16 8 7 015
000 10 1
1 10
1
src
G
1110
Description The RPTS instruction allows you to repeat a single instruction
src
+ 1 times
without any penalty for looping. Fetches can also be made from the instruction
register (IR), thus avoiding repeated memory access.
The
src
operand is loaded into the repeat counter (RC). A 1 is written into the
repeat mode bit of the status register ST (RM). A 1 is also written into the re-
peat single bit (S). This indicates that the program fetches are to be performed
only from the instruction register. The next PC is loaded into the repeat end-ad-
dress (RE) register and the repeat start-address (RS) register.
For the immediate mode, the
src
operand is assumed to be an unsigned inte-
ger and is not sign extended.
Cycles 4
Status Bits LUF Unaffected
LV Unaffected
UF Unaffected
N Unaffected
Z Unaffected
V Unaffected
C Unaffected
OVM Operation is not affected by OVM bit value.
Mode Bit
Vista de pagina 668
1 2 ... 664 665 666 667 668 669 670 671 672 673 674 ... 756 757

Comentarios a estos manuales

Sin comentarios