Zilog Z08470 Instrukcja Użytkownika Strona 157

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 326
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 156
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
145
ADD A, n
Operation
A A + n
Op Code
ADD
Operands
A, n
Description
The n integer is added to the contents of the Accumulator, and the results are stored in the
Accumulator.
Condition Bits Affected
S is set if result is negative; otherwise, it is reset.
Z is set if result is 0; otherwise, it is reset.
H is set if carry from bit 3; otherwise, it is reset.
P/V is set if overflow; otherwise, it is reset.
N is reset.
C is set if carry from bit 7; otherwise, it is reset.
Example
If the Accumulator contains 23h, then upon the execution of an ADD A, 33h instruction,
the Accumulator contains
56h.
M Cycles T States 4 MHz E.T.
2 7 (4, 3) 1.75
n
11 0 10100
C6
Przeglądanie stron 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 325 326

Komentarze do niniejszej Instrukcji

Brak uwag