
89
Chapter 3 Functions
3.2 Functions
LoaD from EXtra far data area
Transfer from extended data area
[ Flag Change ]
[ Description Example ]
[ Related Instructions ] STE,MOV,XCHG
B , W
[ Selectable src/dest ]
[ Function ]
LDE LDE
[ Syntax ]
LDE.size src,dest
• This instruction transfers
src
from extended area to
dest
.
• If
dest
is an A0 or A1 when the size specifier (.size) you selected is (.B),
src
is zero-expanded to
transfer data in 16 bits.
src dest
R0L/R0 R0H/R1 R1L/R2 R1H/R3 R0L/R0 R0H/R1 R1L/R2 R1H/R3
A0/A0 A1/A1 [A0] [A1] A0/A0 A1/A1 [A0] [A1]
dsp:8[A0] dsp:8[A1] dsp:8[SB] dsp:8[FB] dsp:8[A0] dsp:8[A1] dsp:8[SB] dsp:8[FB]
dsp:16[A0] dsp:16[A1] dsp:16[SB] abs16 dsp:16[A0] dsp:16[A1] dsp:16[SB] abs16
dsp:20[A0] dsp:20[A1] abs20 #IMM dsp:20[A0] dsp:20[A1] abs20
R2R0 R3R1 A1A0 [A1A0] R2R0 R3R1 A1A0
Conditions
S : The flag is set when the transfer resulted in MSB of
dest
= 1; otherwise cleared.
Z : The flag is set when the transfer resulted in
dest
= 0; otherwise cleared.
LDE.W [A1A0],R0
LDE.B Rom_TBL,A0
UIOBSZDC
Flag
Change
[ Instruction Code/Number of Cycles ]
Page=
193
[ Operation ]
dest src
Comentarios a estos manuales