![Hynix Semiconductor GMS81C5108 User Manual Download Page 32](http://html1.mh-extra.com/html/hynix-semiconductor/gms81c5108/gms81c5108_user-manual_2192989032.webp)
GMS81C5108
JUNE 2001 Ver 1.0
29
Y indexed direct page (8 bit offset)
→
→
→
→
dp+Y
This address value is the second byte (Operand) of com-
mand plus the data of Y-register, which assigns Memory in
Direct page.
This is same with above (2). Use Y register instead of X.
Y indexed absolute
→
→
→
→
!abs+Y
Sets the value of 16-bit absolute address plus Y-register
data as Memory. This addressing mode can specify mem-
ory in whole area.
Example; Y=55
H
D500FA
LDA
!0FA00
H
+Y
(6) Indirect Addressing
Direct page indirect
→
→
→
→
[dp]
Assigns data address to use for accomplishing command
which sets memory data (or pair memory) by Operand.
Also index can be used with Index register X,Y.
JMP, CALL
Example; G=0
3F35
JMP
[35
H
]
X indexed indirect
→
→
→
→
[dp+X]
Processes memory data as Data, assigned by 16-bit pair
m e m o r y w h i c h i s d e t e r m i n e d b y p a i r d a t a
[dp+X+1][dp+X] Operand plus
X-register data in Direct
page.
ADC, AND, CMP, EOR, LDA, OR, SBC, STA
Example; G=0, X=10
H
1625
ADC
[25
H
+X]
D5
0F100
H
data
→
A
➊
~
~
~
~
data
0FA55
H
0FA00
H
+55
H
=0FA55
H
➌
FA
0F102
H
00
0F101
H
➋
0A
35
H
jump to address 0E30A
H
➊
~
~
~
~
35
0FA00
H
E3
36
H
➋
3F
0E30A
H
NEXT
~
~
~
~
05
35
H
0E005
H
~
~
~
~
25
0FA00
H
E0
36
H
16
0E005
H
data
~
~
~
~
➌
A + data + C
→
A
25 + X(10) = 35
H
➊
➋
Downloaded from
Elcodis.com
electronic components distributor