Maxim-integrated MAX31782 Manual de usuario Pagina 207

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 223
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 206
Maxim Integrated 20-24
MAX31782 User’s Guide
Revision 0; 8/11
RR/RRC Rotate Right Accumulator
Carry Flag (Ex/In)clusive
Description: Rotates the active accumulator right by a single bit position. The RR instruction circulates the lsb of
the accumula- tor (bit 0) back to the msb (bit 15) while the RRC instruction includes the Carry (C)
flag in the circular right shift.
Status Flags: C (for RRC only), S, Z (for RRC only)
RR Operation: 15 Active Accumulator (Acc) 0
Acc.[14:0] Acc.[15:1]; Acc.15 Acc.0
Encoding: 15 0
1000 1010
1100 1010
Example(s): ; Acc = A345h, S=1, Z=0
RR ; Acc = D1A2h, S=1, Z=0
RR ; Acc = 68D1h, S=0, Z=0
RRC Operation: 15 Active Acc (Acc) 0 Carry Flag
Acc.[14:0] Acc.[15:1]; Acc.15 C; C Acc.0
Encoding: 15 0
1000 1010
1101 1010
Example(s): ; Acc = A345h, C=1, S=1, Z=0
RRC ; Acc = D1A2h, C=1, S=1, Z=0
RRC ; Acc = E8D1h, C=0, S=1, Z=0
Vista de pagina 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 222 223

Comentarios a estos manuales

Sin comentarios