HYUNDAI MicroElectonics
10
dp Indirected Y-register Indexed Addressing Mode
[ dp ] + Y
The effective address is determined by adding contents of ((dp+1)(dp)) and contents of Y-register.
OP CODE
[dp]
Operand
Instructions
A,Memory
ADC
AND
CMP
EOR
LDA
OR
SBC
STA
Example)
17 25
ADC [25H]+Y
Absolute Indirect Addressing Mode
[ !abs ]
The effective address is contents of ((!abs+1)(!abs)).
OP CODE
Lower Address Upper Address
Operand
Instructions
PSW
JMP
Example)
( G=0, Y=10
h
)
1F 25 C0
JMP [!0C025H]
+
0FF
h
0FF
h
C015
h
=
A
A + data + C
Op code ( 17 )
Operand ( 25 )
MEMORY
000
h
100
h
C015
h
data1 ( 05 )
025
h
0 Page
1 Page
data2 ( C0 )
Data
026
h
Y ( 10 )
C026
h
D005
h
=
Op code ( 1F )
Operand( 25 )
Operand( C0 )
MEMORY
D005
h
data1 ( 05 )
C025
h
data2 ( D0 )
NEXT