
eZ8
™
CPU Core
User Manual
UM012820-0810 LD Instruction
167
If Working Register R13 contains the value 45h, and Working Register
R12 contains the value
00h the following statement loads the value 00h
into Register
45h:
LD @R13, R12
Object Code: F3 DC
The contents of Working Register R12 and Working Register R13 are not
affected.
If Register 45h contains the value CFh, the following statement loads the
value
CFh into Register 34h:
LD
34h
,
45h
Object Code: E4 45 34
The contents of Register 45h are not affected.
If Register 45h contains the value CFh and Register CFh contains the
value
FFh, the following statement loads the value FFh into Register 34h:
LD
34h
, @
45h
Object Code: E5 45 34
The contents of Register 45h and Register CFh are not affected.
The following statement loads the value A4h into Register 34h.
LD
34h
, #A4h
Object Code: E6 34 A4
If Working Register R14 contains the value 7Fh, the following statement
loads the value
FCh into Register 7Fh.
LD @R14, #
FCh
Object Code: E7 EE FC
The contents of Working Register R14 are not affected.
If Register 34h contains the value CFh and Register 45h contains the
value
FFh, the following statement loads the value FFh into Register CFh:
LD @
34h
,
45h
Object Code: F5 45 34
Comentarios a estos manuales