Fujitsu FR family 32-bit microcontroller instruction manue Bedienungsanleitung Seite 167

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 314
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 166
143
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.49 LSR2 (Logical Shift to the Right Direction)
Makes a logical right shift of the word data in "Ri" by "{u4 + 16}" bits, stores the result
to "Ri".
LSR2 (Logical Shift to the Right Direction)
Assembler format: LSR2 #u4, Ri
Operation: Ri >> {u4 + 16} Ri
Flag change:
N: Cleared
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: LSR2 #8, R3
NZVC
0C–C
MSB LSB
10110001 u4 Ri
R3 R3
0000 00FFFFFF FFFF
NZVC
CCR CCR
NZVC
00010000
Instruction bit pattern : 1011 0001 1000 0011
Before execution After execution
Seitenansicht 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 313 314

Kommentare zu diesen Handbüchern

Keine Kommentare