Zilog Z8F0130 Uživatelský manuál Strana 247

  • 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 246
eZ8
CPU Core
User Manual
UM012820-0810 SUB Instruction
232
SUB
Definition
Subtract.
Syntax
SUB dst, src
Operation
dst
dst - src
Description
This instruction subtracts the source operand from the destination oper-
and. The destination operand stores the result. The source operand con-
tents are unaffected. The eZ8 CPU performs subtraction by adding the
two’s complement of the source operand to the destination operand.
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 the result is negative; 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 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 313 314

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

Žádné komentáře