beautypg.com

Zilog Z8F0130 User Manual

Page 202

background image

eZ8

CPU Core

User Manual

UM012820-0810

LEA Instruction

187

LEA

Definition

Load Effective Address.

Syntax

LEA dst, X(src)

Operation

dst

 src + X

Description

This new eZ8 instruction loads the destination Working Register with a
value of the Source Register plus the signed displacement (X, where X is
a signed displacement from +127 to –128).

Flags

Attributes

C

Unaffected

Z

Unaffected

S

Unaffected

V

Unaffected

D

Unaffected

H

Unaffected

Mnemonic Dest, Src, d

Op
Code
(Hex)

Operand 1 Operand 2 Operand 3

LEA

r1, X(r2)

98

{r1, r2}

X

LEA

rr1, X(rr2)

99

{rr1, rr2}

X