Zilog Z80380 Uživatelský manuál Strana 105

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 268
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 104
5-71
Z380
USER'S MANUAL
ZILOG
DC-8297-03
INC[W]
INCREMENT (WORD)
INC[W] dst dst = R, RX
Operation: if (XM) then begin
dst(31-0) < dst(31-0) + 1
end
else begin
dst(15-0) dst(15-0) + 1
end
The destination operand is incremented by one and the sum is stored in the destination.
Two’s complement addition is performed. Note that the length of the operand is controlled
by the Extended/Native mode selection, which is consistent with the manipulation of an
address by the instruction.
Flags: S: Unaffected
Z: Unaffected
H: Unaffected
V: Unaffected
N: Unaffected
C: Unaffected
Addressing Execute
Mode Syntax Instruction Format Time Note
R: INC[W] R 00rr0011 2 X
RX: INC[W] RX 11y11101 00100011 2 X
Field Encodings: rr: 00 for BC, 01 for DE, 10 for HL, 11 for SP
y: 0 for IX, 1 for IY
Zobrazit stránku 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 267 268

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

Žádné komentáře