Zilog Z16F2810 Manual de usuario Pagina 112

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 216
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 111
DEC Instruction UM018809-0611
96
ZNEO
®
CPU Core
User Manual
DEC
Definition
Decrement
Syntax
DEC dst
Operation
dst dst
1
Description
The contents of the destination operand are decremented 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 borrow; 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
DEC Rd
1
{AA1H, Rd} 01H
DEC addr16 {ADAH, 1x11B} addr16
DEC addr32 {ADBH, 1x11B} addr[31:16] addr[15:0]
DEC (Rd) {ACH, 1x11B, Rd}
Note:
Vista de pagina 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 215 216

Comentarios a estos manuales

Sin comentarios