Motorola HC12 Refrence Manual page 186

Table of Contents

Advertisement

LDX
(M : M + 1) ⇒ X
Operation:
Description:
Loads the most significant byte of index register X with the content of
memory location M, and loads the least significant byte of X with the con-
tent of the next byte of memory at M + 1.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
Addressing Modes, Machine Code, and Execution Times:
Source Form
LDX # opr16i
LDX opr8a
LDX opr16a
LDX oprx0_xysp
LDX oprx9,xysp
LDX oprx16,xysp
LDX [D ,xysp ]
LDX [ oprx16,xysp ]
MOTOROLA
6-126
Load Index Register X
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $0000; cleared otherwise.
0; Cleared.
Address Mode
IMM
DIR
EXT
IDX
IDX1
IDX2
[D,IDX]
[IDX2]
INSTRUCTION GLOSSARY
V
C
0
Object Code
CE jj kk
DE dd
FE hh ll
EE xb
EE xb ff
EE xb ee ff
EE xb
EE xb ee ff
LDX
Cycles
Access Detail
2
OP
3
RfP
3
ROP
3
RfP
3
RPO
4
fRPP
6
fIfRfP
6
fIPRfP
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents