Maxim-integrated DS4830A Optical Microcontroller Bedienungsanleitung Seite 223

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 240
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 222
DS4830A User’s Guide
223
RL / RLC Rotate Left Accumulator Carry Flag (Ex/In)clusive
Description: Rotates the active accumulator left by a single bit position. The RL instruction circulates the
msb of the accumulator (bit 15) back to the lsb (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 Operation: 15 Active Accumulator (Acc) 0 Carry Flag
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
Seitenansicht 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 239 240

Kommentare zu diesen Handbüchern

Keine Kommentare