Zilog Z8F0130 Manual de usuario Pagina 95

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 314
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 313 314

Comentarios a estos manuales

Sin comentarios