beautypg.com

Zilog Z8F0130 User Manual

Page 190

background image

eZ8

CPU Core

User Manual

UM012820-0810

LDE Instruction

175

Sample Usage

If Working Register Pair R6 and R7 contain the value

40A2h

and Data

Memory location

40A2h

contains the value

22h

, the following statement

loads the value

22h

into Working Register R2:

LDE R2, @RR6

Object Code: 82 26

The value of Data Memory location

40A2h

is unchanged by the load.

If Working Register Pair R6 and R7 contain the value

404Ah

and Work-

ing Register R2 contains the value

22h

, the following statement loads the

value

22h

into Data Memory location

404Ah

.

LDE @RR6, R2

Object Code: 92 26