Zilog Z8F0130 Uživatelský manuál Strana 232

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 314
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 231
eZ8
CPU Core
User Manual
UM012820-0810 SBC Instruction
217
SBC
Definition
Subtract with Carry.
Syntax
SBC dst, src
Operation
dst
dst - src - C
Description
This instruction subtracts the source operand and the Carry (C) flag from
the destination. The destination stores the result. The contents of the
source operand are unaffected. The eZ8 CPU performs subtraction by
adding the two’s-complement of the source operand to the destination
operand. In multiple-precision arithmetic, this instruction permits the
carry (borrow) from the subtraction of low-order operands to be sub
-
tracted from the subtraction of high-order operands.
Flags
C Set if a borrow is required by bit 7; reset otherwise
Z Set if the result is zero; reset otherwise
S Set if Bit 7 of the result is set; reset otherwise
V Set if an arithmetic overflow occurs; reset otherwise
D Set to 1
H Set if a borrow is required by bit 3; reset otherwise
Zobrazit stránku 231
1 2 ... 227 228 229 230 231 232 233 234 235 236 237 ... 313 314

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

Žádné komentáře