Zilog Z16F2810 Manual de usuario Pagina 108

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 216
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 107
CPCZ Instruction UM018809-0611
92
ZNEO
®
CPU Core
User Manual
CPCZ
Definition
Compare with Carry to Zero
Syntax
CPCZ dst
Operation
dst
0C
Description
The value zero and the Carry bit are compared to (subtracted from) the destination operand and
the flags are set according to the results of the operation. The contents of the destination operand
are unaffected. Repeating this instruction enables multiregister compares. The Zero flag is set
only if the initial state of the Zero flag is 1 and the result is 0. This instruction is generated by
using the Extend prefix, 0007H, with the CPZ opcodes.
Flags
Flags are set based on the memory destination size, or 32 bits for register destinations.
76543210
C Z S V B CIRQE IRQE
* * * *1–––
Legend
C = Set to 1 if the result generated a borrow; otherwise set to 0.
Z = Set to 1 if Z is initially 1 and 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.
CIRQE = No change.
IRQE = No change.
Note:
Vista de pagina 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 215 216

Comentarios a estos manuales

Sin comentarios