Zilog Z8F0130 Manual do Utilizador Página 95

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 314
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 94
eZ8
CPU Core
User Manual
UM012820-0810 ADD Instruction
80
ADD
Definition
Add
Syntax
ADD dst, src
Operation
dst
dst + src
Description
Add the source operand to the destination operand. Perform two’s-com-
plement addition. Store the sum in the destination operand. The contents
of the source operand are not affected.
Flags
Attributes
C Set if there is a carry from bit 7; reset otherwise
Z Set if the result is zero; reset otherwise
S Set if the result is negative; reset otherwise
V Set if an arithmetic overflow occurs; reset otherwise
D Reset to 0
H Set if there is a carry from bit 3 of the result; reset otherwise
Mnemonic
Destination,
Source
Op
Code
(Hex) Operand 1 Operand 2 Operand 3
ADD r1, r2 02 {r1, r2}
ADD r1, @r2 03 {r1, r2}
Vista de página 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 313 314

Comentários a estes Manuais

Sem comentários