Maxim-integrated MAXQ622 Uživatelský manuál Strana 231

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 255
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 230
MAXQ612/MAXQ622 Users Guide
Maxim Integrated 16-21
RR/RRC
Rotate Right Accumulator Carry Flag Exclusive/Inclusive
Description:
Rotates the active accumulator right by a single bit position. The RR instruction circulates the lsbit
of the accumulator (bit 0) back to the msbit (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 Accumulator (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
Zobrazit stránku 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 254 255

Komentáře k této Příručce

Žádné komentáře