Zilog Z8F0130 Bedienungsanleitung Seite 139

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 314
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 138
eZ8
CPU Core
User Manual
UM012820-0810 CPC Instruction
124
CPC
Definition
Compare with Carry.
Syntax
CPC dst, src
Operation
dst - src - C
Description
For this new eZ8 instruction, the source operand with the C bit is com-
pared to (subtracted from) the destination operand. The contents of both
operands are unaffected. For multiprecision operation, repeating this
instruction enables multibyte compares. The Zero flag is set only if the
initial state of the Zero flag is 1 and the result of the compare is 0.
Flags
C Set if a borrow is required by bit 7; reset otherwise
Z Set if the result is zero and the initial Zero flag is 1; reset otherwise
S Set if the result is negative; reset otherwise
V Set if an arithmetic overflow occurs; reset otherwise
D Unaffected
H Unaffected
Seitenansicht 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 313 314

Kommentare zu diesen Handbüchern

Keine Kommentare