
7700 FAMILY SOFTWARE MANUAL
4–44
Function
:
Logical EXCLUSIVE OR
Operation
:
Acc
←
Acc
M
When m=0
Acc
Acc
M(n+1,n)
←
When m=1
Acc
L
Acc
L
M(n)
←
Description
:
Performs the logical EXCLUSIVE OR between the contents of the accumulator and the
contents of memory, and places the result in the accumulator.
Status flags
IPL :
N
Not affected.
Set to 1 when bit 15 (or bit 7 if the data length selection flag m is set to 1) of the operation
result is 1. Otherwise, cleared to 0.
Not affected.
Not affected.
Not affected.
Not affected.
Not affected.
Set to 1 when the result of operation is 0. Otherwise, cleared to 0.
Not affected.
:
V
m
x
D
I
Z
C
:
:
:
:
:
:
:
EOR
Exclusive OR Memory with Accumulator
EOR
Addressing mode
Syntax
Machine code
Bytes
Cycles
Immediate
Direct
Direct indexed X
Direct indirect
Direct indexed X indirect
Direct indirect indexed Y
Direct indirect long
Direct indirect long indexed Y
Absolute
Absolute indexed X
Absolute indexed Y
Absolute long
Absolute long indexed X
Stack pointer relative
Stack pointer relative
indirect indexed Y
EOR A, #imm
EOR A, dd
EOR A, dd, X
EOR A, (dd)
EOR A, (dd, X)
EOR A, (dd), Y
EORL A, (dd)
EORL A, (dd), Y
EOR A, mmll
EOR A, mmll, X
EOR A, mmll, Y
EOR A, hhmmll
EOR A, hhmmll, X
EOR A, nn, S
EOR A, (nn, S), Y
49
16
, imm
45
16
, dd
55
16
, dd
52
16
, dd
41
16
, dd
51
16
, dd
47
16
, dd
57
16
, dd
4D
16
, ll, mm
5D
16
, ll, mm
59
16
, ll, mm
4F
16
, ll, mm, hh
5F
16
, ll, mm, hh
43
16
, nn
53
16
, nn
2
2
2
2
2
2
2
2
3
3
3
4
4
2
2
2
4
5
6
7
8
10
11
4
6
6
6
7
5
8
(Note 1) This table applies when using the accumulator A. If using the accumulator B, replace “A” with “B”.
In this case, “42
16
” is added at the beginning of the machine code, the bytes-count increases by
1 and the cycles-count increases by 2.
(Note 2) When operating on 16-bit data in the immediate addressing mode with the data length selection
flag m set to 0, the bytes-count increases by 1.