
<
2
.75
7UGT U/CPWCN
=L/2*
#FFTGUU5RCEG
7/<:
LD
Load
Example: Working register
R13
contains the value
45H
. Working register
R12
contains the value 00H. The
following statement loads the value
00H
into register
45H
. The contents of working register
R12
and
working register
R13
are not changed.
LD @R13, R12
Op Code: F3 DC
Example: Register
45H
contains the value
CFH
. The following statement loads the value
CFH
into register
34H
. The contents of register
45H
are not changed.
LD 34H, 45H
Op Code: E4 45 34
Example: Register
45H
contains the value
CFH
. Register
CFH
contains the value
FFH
. The following state-
ment loads the value
FFH
into register
34H
. The contents of register
45H
and register
CFH
are not changed.
LD 34H, @45H
Op Code: E5 45 34
Example: The following statement loads the value
A4H
into Register
34H
.
LD 34H, #0A4H
Op Code: E6 34 A4
Example: Working register
R14
contains the value
7FH
. The following statement loads the value
FCH
into
Register
7FH
. The contents of working register
R14
are not changed.
LD @R14, #0FCH
Op Code: E7 EE FC