Mitsubishi M16C/60 Series Software Manual page 67

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

EOR
E
XCLUSIVE
When (T) = 0, (A) ← (A) ∀ (M)
Op e r a t io n :
F u n c t io n :
When T = 0, this instruction transfers the contents of the M
and A to the ALU which performs a bit-wise Exclusive OR, and
stores the result in A.
When T = 1, the contents of M(X) and M are transferred to the
ALU, which performs a bit-wise Exclusive OR and stores the
results in M(X). The contents of A remain unchanged, but sta-
tus flags are changed.
M(X) represents the contents of memory where is indicated by
X.
St a t u s fla g :
N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
∆EOR∆#$nn
Immediate
∆EOR∆$zz
Zero page
∆EOR∆$zz,X
Zero page X
∆EOR∆$hhll
Absolute
∆EOR∆$hhll,X
Absolute X
∆EOR∆$hhll,Y
Absolute Y
∆EOR∆($zz,X)
(Indirect X)
∆EOR∆($zz),Y
(Indirect Y)
Note: When T=1, add 3 to the cycle number.
OR
MEMORY WITH ACCUMULATOR
(T) = 1, (M(X)) ← (M(X)) ∀ (M)
N is 1 when bit 7 is 1 after the operation; otherwise N is
0.
No change
No change
No change
No change
No change
Z is 1 when the operation result is 0; otherwise Z is 0.
No change
Statement
Machine codes
Byte number
49
, nn
16
16
45
, zz
16
16
55
, zz
16
16
4D
, ll
, hh
16
16
16
5D
, ll
, hh
16
16
16
59
, ll
, hh
16
16
16
41
, zz
16
16
51
, zz
16
16
EOR
Cycle number
2
2
2
3
2
4
3
4
3
5
3
5
2
6
2
6
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/20 series

Table of Contents