Zilog Z16F2810 Bedienungsanleitung Seite 143

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 216
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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:
Seitenansicht 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 215 216

Kommentare zu diesen Handbüchern

Keine Kommentare