Freescale-semiconductor StarCore SC140 Manual de usuario Pagina 81

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 760
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 80
Address Generation Unit
SC140 DSP Core Reference Manual 2-49
2.3.6 Bit Mask Instructions
The SC140 core provides bit mask instructions on all address registers (R0–R15), all DALU registers
(D0–D15), all control registers (EMR, VBA, SR, MCTL), and all memory locations.
Bit mask instructions provide an easy way of setting, clearing, inverting, or testing a selected but not
necessarily adjacent group of bits in a register or memory location.
All bit mask instructions work on 16-bit data. This data can be the contents of a memory location or a
portion (high or low) of a register.
Only a single bit mask instruction is allowed in one execution set since only one execution unit exists for
these instructions. A su/jointfilesconvert/1233470/bgroup of the bit mask instructions (BMTSET) supports hardware semaphores. For
more information, see Section 2.3.6.1, “Bit Mask Test and Set (Semaphore Support) Instruction.”
DECGEA AGU Decrement and set T if result is equal to or greater than zero
INCA AGU Increment register (affected by the modifier mode)
LSRA AGU Logical shift right (32-bit)
SUBA AGU Subtract (affected by the modifier mode)
SXTA.B AGU Sign-extend byte
SXTA.W AGU Sign-extend word
TFRA AGU Register transfer
TSTEQA AGU Test for equal to zero
TSTEQA.W AGU Test for equal to zero on lower 16 bits
TSTGEA AGU Test for greater than or equal to zero
TSTGTA AGU Test for greater than zero
ZXTA.B AGU Zero-extend byte
ZXTA.W AGU Zero-extend word
Table 2-23. AGU Arithmetic Instructions (Continued)
Instruction Description
Vista de pagina 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 759 760

Comentarios a estos manuales

Sin comentarios