Zilog Z16F2810 Uživatelský manuál Strana 178

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 216
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 177
SRAX Instruction UM018809-0611
162
ZNEO
®
CPU Core
User Manual
SRAX
Definition
Shift Right Arithmetic, Extended
Syntax
SRAX dst, src
Operation
Description
This instruction performs an arithmetic shift to the right on the destination operand by the num-
ber of bit positions (0–31) specified in bits [4:0] of the source operand. On each bit shift iteration,
Bit 0 replaces the Carry (
C) flag. The value of Bit 31 (the Sign bit) does not change, but its value
shifts into Bit 30 on each iteration.
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 SRA opcode.
C
src
dst
31
0
30
src
31 0
Zobrazit stránku 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 215 216

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

Žádné komentáře