Freescale-semiconductor StarCore SC140 Manual de usuario Pagina 365

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 760
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 364
ASLA
SC140 DSP Core Reference Manual A-51
ASLA Arithmetic Shift Left ASLA
By One Bit (AGU)
Description
Status and Conditions that Affect Instruction
Status and Conditions Changed by Instruction
None.
Example
asla r0
Instruction Formats and Opcodes
Instruction Fields
Rx RRRR AGU Source/Destination Register
Operation Assembler Syntax
Rx<<1 Rx
ASLA Rx
ASLA Rx
Shifts an AGU (Rx) register left one bit. Bits [30:0] are copied into bits [31:1]. Bit 0 is cleared.
Register Address Bit Name Description
SR[18] EXP Determines which stack pointer is used when the stack pointer is an
operand. Otherwise, the instruction is not affected by SR.
Register/Memory Address Before After
R0
$e001 0002 $c002 0004
Instruction Words Cycles Type Opcode
15 8 7 0
ASLA Rx 1 1 2 1110RRRR11111100
0000 N0 0100 1000 R0 1100 R4
0001 N1 0101 1001 R1 1101 R5
0010 N2 0110 1010 R2 1110 R6
0011 N3 0111 SP 1011 R3 1111 R7
Note: This instruction can specify R8-R15 as operands by using a high register prefix.
Vista de pagina 364
1 2 ... 360 361 362 363 364 365 366 367 368 369 370 ... 759 760

Comentarios a estos manuales

Sin comentarios