![Mitsubishi M16C/20 Series Software Manual Download Page 61](http://html1.mh-extra.com/html/mitsubishi/m16c-20-series/m16c-20-series_software-manual_1808679061.webp)
55
C PX
C PX
C
OM
P
ARE MEMORY AND INDEX REGISTER
X
(X) – (M)
This instruction subtracts the contents of M from the contents of
X. The result is not stored and the contents of X and M are not
modified.
N is 1 when bit 7 of the operation result 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.
C is 1 when the subtracted result is equal to or greater
than 0; otherwise C is 0.
Op e r a t io n :
F u n c t io n :
St a t u s fla g :
N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
Immediate
Zero page
Absolute
Statement
∆
CPX
∆
#$nn
∆
CPX
∆
$zz
∆
CPX
∆
$hhll
Machine codes
E0
16
, nn
16
E4
16
, zz
16
EC
16
, ll
16
, hh
16
Cycle number
2
3
4
Byte number
2
2
3