Zilog Z16F2810 Uživatelský manuál Strana 124

  • 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 123
INC Instruction UM018809-0611
108
ZNEO
®
CPU Core
User Manual
INC
Definition
Increment
Syntax
INC dst
Operation
dst dst
+ 1
Description
The contents of the destination operand are incremented by one.
Flags
Flags are set based on the memory destination size, or 32 bits for register destinations.
Syntax and Opcodes
76543210
C Z S V B CIRQE IRQE
*****
Legend
C = Set to 1 if the result generated a carry; otherwise set to 0.
Z = Set to 1 if the result is zero; otherwise, set to 0.
S = Set to 1 if the result msb is 1; otherwise set to 0.
V = Set to 1 if an arithmetic overflow occurs; otherwise set to 0.
B = Set to 1 if the initial destination value was 0; otherwise set to 0.
CIRQE = No change.
IRQE = No change.
Instruction, Operands Word 0 Word 1 Word 2
INC Rd {8H, Rd, 01H}
1
INC addr16 {ADAH, 1x10B} addr16
INC addr32 {ADBH, 1x10B} addr[31:16] addr[15:0]
INC (Rd) {ACH, 1x10B, Rd}
Note:
Zobrazit stránku 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 215 216

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

Žádné komentáře