Zilog Z8F0130 Uživatelský manuál Strana 239

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 314
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 238
eZ8
CPU Core
User Manual
UM012820-0810 SRA Instruction
224
SRA
Definition
Shift Right Arithmetic.
Syntax
SRA dst
Operation
Description
This instruction performs an arithmetic shift to the right by one bit posi-
tion on the destination operand. Bit 0 replaces the Carry (C) flag. The
value of Bit 7 (the Sign bit) does not change, but its value shifts into Bit 6.
Flags
C Set if the bit rotated from the least-significant bit position was 1
(that is, Bit 0 was 1)
Z Set if the result is zero; reset otherwise
S Set if Bit 7 of the result is set; reset otherwise
V Reset to 0
D Unaffected
H Unaffected
D7 D6 D5 D4 D3 D2 D1 D0
dst
C
Zobrazit stránku 238
1 2 ... 234 235 236 237 238 239 240 241 242 243 244 ... 313 314

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

Žádné komentáře