Zilog Z8F0130 Manuel d'utilisateur Page 95

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 314
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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}
Vue de la page 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 313 314

Commentaires sur ces manuels

Pas de commentaire