Zilog Z16F2810 Uživatelský manuál Strana 102

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 216
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 101
CP Instruction UM018809-0611
86
ZNEO
®
CPU Core
User Manual
CP
Definition
Compare
Syntax
CP dst, src
Operation
dst
src
Description
The source operand is compared to (subtracted from) the destination operand and the flags are set
according to the results of the operation. The contents of both the source and destination oper-
ands are unaffected.
Flags
Flags are set based on the memory destination size, or 32 bits for register destinations.
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 or source value is 0; otherwise set to 0.
CIRQE = No change.
IRQE = No change.
Note:
Zobrazit stránku 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 215 216

Komentáře k této Příručce

Žádné komentáře