Zilog Z16F2810 Instrukcja Użytkownika Strona 182

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 216
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 181
SRLX Instruction UM018809-0611
166
ZNEO
®
CPU Core
User Manual
SRLX
Definition
Shift Right Logical, Extended
Syntax
SRLX dst, src
Operation
Description
The destination operand contents shift right logical by the number of bit positions (0–31) speci-
fied in bits [4:0] of the source operand. On each bit shift iteration, the value of Bit 0 moves into
the Carry (
C) flag, and Bit 31 clears to 0.
The source register is cleared, and bits shifted out of the destination are shifted into the source
register.
This instruction is generated by using the Extend prefix, 0007H, with the SRL opcode.
Flags
76543210
C Z S V B CIRQE IRQE
* * * *0–––
Legend
C = Set to 1 if the last bit shifted out of the destination register is 1; otherwise set to 0.
Z = Set to 1 if the 32-bit destination register contains zero; otherwise set to 0.
S = Set to 1 if bit [31] of the destination register is 1; otherwise set to 0.
V = Set to 1 if the Carry and Sign flags are different; otherwise set to 0.
B = Cleared to 0.
CIRQE = No change.
IRQE = No change.
C0
src
dst
31 0
src
31 0
Przeglądanie stron 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 215 216

Komentarze do niniejszej Instrukcji

Brak uwag