58
D EX
D EX
DE
CREMENT INDEX REGISTER
X
BY ONE
(X)
←
(X) – 1
This instruction subtracts one from the current contents of X.
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
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
Implied
Machine codes
CA
16
Byte number
1
Cycle number
2
Statement
∆
DEX