Zilog Z08470 Uživatelský manuál Strana 181

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 326
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 180
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
169
Description
The byte specified by the m operand is decremented.
Condition Bits Affected
S is set if result is negative; otherwise, it is reset.
Z is set if result is 0; otherwise, it is reset.
H is set if borrow from bit 4, otherwise, it is reset.
P/V is set if m was
80h before operation; otherwise, it is reset.
N is set.
C is not affected.
Example
If the D Register contains byte 2Ah, then upon the execution of a DEC D instruction, the D
Register contains
29h.
Instruction M Cycles T States 4 MHz E.T.
DEC r 1 4 1.00
DEC (HL) 3 11 (4, 4, 3) 2.75
DEC (IX+d) 6 23 (4, 4, 3, 5, 4, 3) 5.75
DEC (lY+d) 6 23 (4, 4, 3, 5, 4, 3) 5.75
Zobrazit stránku 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 325 326

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

Žádné komentáře