Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->LDX
LDX Load Index Register X
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 | Assembler syntax |
| Immed.: | LDX #<exprn.> |
| Direct: | LDX <exprn.> |
| Index X: | LDX <exprn.>,X |
| Index Y: | LDX <exprn.>,Y |
| Extend: | LDX <exprn.> |