B
000
C
001
DOlO
E
011
H
100
L
101
A
111
A
logical
exclusive-OR
operation,
bit
by
bit,
is
performed
between
the
byte
specified
by
the
s operand
and
the
byte
contained
in
the
Accumulator;
the
result
is
stored
in
the
Accumulator.
INSTRUCTION
M
CYCLES
T
STATES
4 MH
Z
E
.
T.
XOR
r
1
4
1
.
00
XOR
n
2
7(4,3)
1
.
75
XOR
(HL)
2
7(4,3)
1
.
75
XOR
(IX+d)
5
19(4,4,3,5,3)
4.75
XOR
(I
Y
+d)
5
19(4,4,3,5,3)
4.75
Condition
Bits
Affected:
Set
if
result
is
negative;
reset
otherwise
Set
if
result
is
zero;
reset
otherwise
Se t
Set
if
parity
even;
reset
otherwise
Re se t
Re se t
H:
P/V:
If
the
Accumulator
contains
96H
(10010110),
after
the
execution
of
Содержание ATES Z80
Страница 1: ......
Страница 5: ......
Страница 6: ...Juanlurn c cc r 11 SoJt 391262 Jr ml tOl...
Страница 32: ......
Страница 38: ...If Address 2130ll contains 65ll and address 2131H contains 78ll after the instruction...
Страница 56: ......
Страница 79: ......
Страница 80: ......
Страница 82: ...If the contents of the Accumulator are 44H and the contents of register Care IlH after the execution of...
Страница 86: ...10050 is 220 after the execution of ADD A IX SH the contents of the Accumulator will be 33H...
Страница 88: ......
Страница 104: ...If the contents of register Dare 280 after the execution of...
Страница 112: ......
Страница 117: ...Example If the contents of the Accumulator are...
Страница 119: ...SCF S z H P V N C Not affected Not affected Rese t Not affected Re se t Set...
Страница 127: ......
Страница 128: ......
Страница 130: ...If register pair HL contains the integer 42428 and register pair DE contains IlllH after the execution of...
Страница 132: ...If the register pair BC contains 2222H register pair HL contains 5437H and the Carry Flas is set after the execution of...
Страница 136: ...If the contents of Index Register IX are 333H and the contents of register pair Be are 5555H after the execution of...
Страница 138: ...If the contents of Index Register IY are 333H and the contents of register pair Be are SSSH after the execution of...
Страница 140: ...INC x 11 0 a I DO I0 a a a a I 23 If the Index Register IX contains the integer 3300H after the execution of...
Страница 141: ...INC IY I 1 0 1 I FD I 0 a a a a I 23 If the contents of the Index Register are 2977H after the execution of...
Страница 143: ...DEe IX 1 1 0 1 1 1 0 1 I DO I0 0 1 0 1 0 1 I 2B If the contents of Index Register IX are 2006ll after the execution of...
Страница 144: ...DEe IY I 1 0 I FD I 0 a a a I 28 If the contents of the Index Register IY are 7649H after the execution of...
Страница 145: ......
Страница 146: ......
Страница 148: ...Example If the contents of the Accumulator are...
Страница 150: ...If the contents of the Accumulator and the Carry Flag are the contents of the Accumulator and the Carry Flag will be...
Страница 152: ...the contents of the Accumulator and the Carry Flag will be...
Страница 154: ...If the contents of the Accumulator and the Carry Flag are the contents of the Accumulator and the Carry Flag will be...
Страница 185: ......
Страница 186: ......
Страница 203: ......
Страница 204: ......
Страница 212: ...The resulting object code and PC after the jump are shown below 480 LABEL JR NC LABEL 30 PC after jump 481 00...
Страница 214: ...The resulting object code and final PC value is shown below 300 JR Z LPBEL 301 302 303 304 305 LABEL...
Страница 216: ...The resulting object code and final PC value is shown below 47C LABEL 47D 47E 47F 480 JR NZ LABEL 481...
Страница 222: ......
Страница 237: ......
Страница 238: ......
Страница 243: ...memory location lOOOH will contain 7BH the HL register pair will contain lOOlH and register B will contain OFH...
Страница 261: ......
Страница 262: ......
Страница 267: ......