Freescale-semiconductor StarCore SC140 Manual de usuario Pagina 678

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 760
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 677
A-364 SC140 DSP Core Reference Manual
ROR
ROR Rotate One Bit Right Through the Carry Bit (DALU) ROR
Description
Status and Conditions that Affect Instruction
Status and Conditions Changed by Instruction
Example
ror d15
Operation Assembler Syntax
(Dn[39–1]>>>1) Dn[38–0]
C Dn[39]
Dn[0] C
ROR Dn
ROR Dn
Rotates the contents of a data register (Dn) one bit to the right. The carry bit C is shifted to bit 39, bit 0 is
copied to the carry bit, and bits [39:1] are copied to bits [38:0].
Register Address Bit Name Description
SR[0] C The carry bit is copied into Dn[39].
Register Address Bit Name Description
SR[0] C Set if bit 0 in the data register was one before rotation. Cleared if bit
0 in the data register was zero before rotation.
Ln L Clears the Ln bit in the destination register.
Register/Memory Address Before After
SR
$00E0 0000 $00E0 0001
L15:D15
$0:$FF A000 0005 $0:$7F D000 0002
01516313239
C
Vista de pagina 677
1 2 ... 673 674 675 676 677 678 679 680 681 682 683 ... 759 760

Comentarios a estos manuales

Sin comentarios