Fujitsu FR family 32-bit microcontroller instruction manue Manual de usuario Pagina 164

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 314
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 163
140
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.46 LSL2 (Logical Shift to the Left Direction)
Makes a logical left shift of the word data in "Ri" by "{u4 + 16}" bits, stores the results to
"Ri".
LSL2 (Logical Shift to the Left Direction)
Assembler format: LSL2 #u4, Ri
Operation: Ri << {u4 + 16} Ri
Flag change:
N: Set when the MSB of the operation result is "1", cleared when the MSB is "0".
Z: Set when the operation result is "0", cleared otherwise.
V: Unchanged
C: Holds the bit value shifted last.
Execution cycles: 1 cycle
Instruction format:
Example: LSL2 #8, R3
NZVC
CCC
MSB LSB
10110101 u4 Ri
R3 R3
FF00 0000FFFF FFFF
NZVC
CCR CCR
NZVC
10010000
Instruction bit pattern : 1011 0101 1000 0011
Before execution After execution
Vista de pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 313 314

Comentarios a estos manuales

Sin comentarios