GMS81508B HYNIX [Hynix Semiconductor], GMS81508B Datasheet - Page 32

no-image

GMS81508B

Manufacturer Part Number
GMS81508B
Description
HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
Manufacturer
HYNIX [Hynix Semiconductor]
Datasheet
HYUNDAI MicroElectronics
C645
Y indexed direct page (8 bit offset)
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
Sets the value of 16-bit absolute address plus Y-register
data as Memory.This addressing mode can specify memo-
ry in whole area.
Example; Y=55
D500FA
(6) Indirect Addressing
Direct page indirect
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
DEC. 1999 Ver 1.04
0FA55H
0F100H
0F101H
0F102H
0E550H
0E551H
3AH
~ ~
~ ~
LDA
LDA
data
data
D5
H
FA
C6
00
45
45H+X
!0FA00H+Y
~ ~
~ ~
!abs+Y
[dp]
45H+0F5H=13AH
0FA00H+55H=0FA55H
data
data
A
A
dp+Y
Example; G=0
3F35
X indexed indirect
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 plusX-register data in Direct
page.
ADC, AND, CMP, EOR, LDA, OR, SBC, STA
Example; G=0, X=10
1625
Y indexed indirect
Processes memory data as Data, assigned by the data
[dp+1][dp] of 16-bit pair memory paired by Operand in Di-
rect pageplus Y-register data.
ADC, AND, CMP, EOR, LDA, OR, SBC, STA
Example; G=0, Y=10
0E005H
0FA00H
0E30AH
0FA00H
35H
36H
35H
36H
~ ~
~ ~
~ ~
~ ~
JMP
ADC
data
05
E0
16
NEXT
25
0A
E3
3F
35
[35H]
[25H+X]
H
H
~ ~
~ ~
[dp+X]
[dp]+Y
~ ~
~ ~
GMS81508B/16B/24B
0E005H
jump to
address 0E30AH
A + data + C
25 + X(10) = 35H
A
29

Related parts for GMS81508B