Maxim-integrated MAXQ622 Manual de usuario Pagina 230

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 255
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 229
MAXQ612/MAXQ622 Users Guide
16-20 Maxim Integrated
RL/RLC
Rotate Left Accumulator Carry Flag Exclusive/Inclusive
Description:
Rotates the active accumulator left by a single bit position. The RL instruction circulates the msbit of
the accumulator (bit 15) back to the lsbit (bit 0) while the RLC instruction includes the Carry (C) flag
in the circular left shift.
Status Flags:
C (for RLC only), S, Z (for RLC only)
RL Operation:
15 Active Accumulator (Acc) 0
Acc.[15:1]Acc.[14:0]; Acc.0 Acc.15
Encoding:
15
0
1000 1010 0100 1010
Example(s):
; Acc = A345h, S=1, Z=0
RL ; Acc = 468Bh, S=0, Z=0
RL ; Acc = 8D16h, S=1, Z=0
RLC
15 Active Accumulator (Acc) 0 Carry Flag
Operation:
Acc.[15:1]Acc.[14:0]; Acc.0 C; C Acc.15
Encoding:
15
0
1000 1010 0101 1010
Example(s):
; Acc = A345h, C=1, S=1, Z=0
RLC ; Acc = 468Bh, C=1, S=0, Z=0
RLC ; Acc = 8D17h, C=0, S=1, Z=0
Vista de pagina 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 254 255

Comentarios a estos manuales

Sin comentarios