Mitsubishi M16C/60 Series Software Manual page 75

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

Advertisement

LD X
L
(X) ← (M)
Op e r a t io n :
F u n c t io n :
This instruction loads the contents of M in X.
St a t u s fla g : N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
∆LDX∆#$nn
Immediate
∆LDX∆$zz
Zero page
∆LDX∆$zz,Y
Zero page Y
∆LDX∆$hhll
Absolute
∆LDX∆$hhll,Y
Absolute Y
D
OA
INDEX REGISTER
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
X
FROM MEMORY
Machine codes
Byte number
A2
, nn
16
16
A6
, zz
16
16
B6
, zz
16
16
AE
, ll
, hh
16
16
16
BE
, ll
, hh
16
16
16
LD X
Cycle number
2
2
2
3
2
4
3
4
3
5
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/20 series

Table of Contents