Zilog Z80380 Uživatelský manuál Strana 194

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 268
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 193
5-160
Z380
USER'S MANUAL
DC-8297-03
ZILOG
SBC
SUBTRACT WITH CARRY (WORD)
SBC HL,src dst = HL
src = BC, DE, HL, SP
Operation: HL(15-0) HL(15-0) - src(15-0) - C
The source operand together with the Carry flag is subtracted from the HL register and the
difference is stored in the HL register. The contents of the source are unaffected. Two's
complement subtraction is performed.
Flags: S: Set if the result is negative; cleared otherwise
Z: Set if the result is zero; cleared otherwise
H: Set if there is a borrow from bit 12 of the result; cleared otherwise
V: Set if arithmetic overflow occurs, that is, if the operands are of different signs and the
result is of the same sign as the the source; cleared otherwise
N: Set
C: Set if there is a borrow from the most significant bit of the result; cleared otherwise
Addressing Execute
Mode Syntax Instruction Format Time Note
R: SBC HL,R 11101101 01rr0010 2
Field Encodings: rr: 00 for BC, 01 for DE, 10 for HL, 11 for SP
Zobrazit stránku 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 267 268

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

Žádné komentáře