Z8
®
CPU
User Manual
UM001604-0108
Instruction Description
193
loads the value
00h
into Register
45h
. The contents of Working Register R12 and Work-
ing Register R13 are not affected.
Example 6
If Register
45h
contains the value
CFh
, the statement:
LD 34h, 45h
Op Code: E4 45 34
loads the value
CFh
into Register
34h
. The contents of Register
45h
are not affected.
Example 7
If Register
45h
contains the value
CFh
and Register
CFh
contains the value
FFh
, the state-
ment:
LD 34h, @45h
Op Code: E5 45 34
loads the value
FFh
into Register
34h
. The contents of Register
45h
and Register
CFh
are
not affected.
Example 8
The statement:
LD 34h, #A4h
Op Code: E6 34 A4
loads the value A4h into Register
34h
.
Example 9
If Working Register R14 contains the value
7Fh
, the statement:
LD @R14, #FCh
Op Code: E7 EE FC
loads the value
FCh
into Register
7Fh
. The contents of Working Register R14 are not
affected.
Example 10
If Register
34h
contains the value
CFh
and Register
45h
contains the value
FFh
, the state-
ment:
LD @34h, 45h
Op Code: F5 45 34
loads the value
FFh
into Register
CFh
. The contents of Register
34h
and Register
45h
are
not affected.