Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->LDX
Load Index Register
Compatibility: 6800, 6802, 6803, 6303R, 6303X, 6303Y
M -> Xmsb, (M+1) -> Xlsb
Condition Code Register
C Not affected
V Reset Always
Z Set if result zero, else cleared
N Set if bit 15 = 1
I Not affected
H Not affected
Addressing mode | op | cyc | bytes | Assembler syntax |
Immed.: | CE | 3 | 3 | LDX #<exprn.> |
Direct: | DE | 4 | 2 | LDX <exprn.> |
Index : | EE | 5 | 2 | LDX <exprn.>,X |
Extend: | FE | 5 | 3 | LDX <exprn.> |