Zilog Z16F2810 Manuel d'utilisateur Page 143

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 216
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 142
UM018809-0611 NEG Instruction
ZNEO
®
CPU Core
User Manual
127
NEG
Definition
Negate
Syntax
NEG dst
Operation
dst 0
dst
Description
The contents of the destination operand are subtracted from zero, and the result is written to the
destination. This effectively performs a two’s complement negation.
Flags
Flags are set based on the 32-bit destination register value.
Syntax and Opcodes
76543210
C Z S V B CIRQE IRQE
*****
Legend
C = Set to 1 if the result generated a borrow; otherwise set to 0.
Z = Set to 1 if 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 if the initial destination value was 0; otherwise set to 0.
CIRQE = No change.
IRQE = No change.
Instruction, Operands Word 0 Word 1 Word 2
NEG Rd {455H, Rd}
Note:
Vue de la page 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 215 216

Commentaires sur ces manuels

Pas de commentaire