Zilog Z8F0130 Manual do Utilizador Página 139

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 314
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 138
eZ8
CPU Core
User Manual
UM012820-0810 CPC Instruction
124
CPC
Definition
Compare with Carry.
Syntax
CPC dst, src
Operation
dst - src - C
Description
For this new eZ8 instruction, the source operand with the C bit is com-
pared to (subtracted from) the destination operand. The contents of both
operands are unaffected. For multiprecision operation, repeating this
instruction enables multibyte compares. The Zero flag is set only if the
initial state of the Zero flag is 1 and the result of the compare is 0.
Flags
C Set if a borrow is required by bit 7; reset otherwise
Z Set if the result is zero and the initial Zero flag is 1; reset otherwise
S Set if the result is negative; reset otherwise
V Set if an arithmetic overflow occurs; reset otherwise
D Unaffected
H Unaffected
Vista de página 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 313 314

Comentários a estes Manuais

Sem comentários