UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
127
loads the value
FFH
into Register 34H. The contents of Register 45H and Register
CFH are not affected.
•
The statement:
LD 34H, #A4H
Object Code: E6 34 A4
loads the value
A4H
into Register 34H.
•
If Working Register R14 contains the value
7FH
, the statement:
LD @R14, #FCH
Object Code: E7 EE FC
loads the value
FCH
into Register 7FH. The contents of Working Register R14 are not
affected.
•
If Register 34H contains the value
CFH
and Register 45H contains the value
FFH
, the
statement:
LD @34H, 45H
Object Code: F5 45 34
loads the value
FFH
into Register CFH. The contents of Register 34H and Register
45H are not affected.
•
If Working Register R0 contains the value
08H
and Register 2CH (24H + 08H = 2CH)
contains the value
4FH
, the statement:
LD R10, 24H(R0)
Object Code: C7 A0 24
loads Working Register R10 with the value
4FH
. The contents of Working Register R0
and Register 2CH are not affected.
•
If Working Register R0 contains the value
0BH
and Working Register R10 contains
83H
the statement:
LD F0H(R0), R10
Object Code: D7 A0 F0
loads the value
83H
into Register FBH (F0H + 0BH = FBH). The contents of Working
Registers R0 and R10 are unaffected by the load.