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

no-image

GMS81508B

Manufacturer Part Number
GMS81508B
Description
HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
Manufacturer
HYNIX [Hynix Semiconductor]
Datasheet
GMS81508B/16B/24B
(4) Absolute Addressing
Absolute addressing sets corresponding memory data to
Data, i.e. second byte (Operand I) of command becomes
lower level address and third byte (Operand II) becomes
upper level address.
With 3 bytes command, it is possible to access to whole
memory area.
ADC, AND, CMP, CMPX, CMPY, EOR, LDA, LDX,
LDY, OR, SBC, STA, STX, STY
Example;
0735F0
The operation within data memory (RAM)
ASL, BIT, DEC, INC, LSR, ROL, ROR
Example; Addressing accesses the address 0135
less of G-flag.
983501
(5) Indexed Addressing
X indexed direct page (no offset)
In this mode, a address is specified by the X register.
28
0F100H
0F101H
0F102H
0F035H
0F100H
0F101H
0F102H
135H
~ ~
~ ~
ADC
INC
data
98
35
01
data
07
35
F0
!0F035H
!0135H
~ ~
~ ~
address: 0135
address: 0F035
data+1
!abs
A+data+C
;A
;A
data
ROM[0F035H]
ROM[135H]
{X}
A
H
regard-
ADC, AND, CMP, EOR, LDA, OR, SBC, STA, XMA
Example; X=15
D4
X indexed direct page, auto increment
In this mode, a address is specified within direct page by
the X register and the content of X is increased by 1.
LDA, STA
Example; G=0, X=35
DB
X indexed direct page (8 bit offset)
This address value is the second byte (Operand) of com-
mand plus the data of -register. And it assigns the mem-
ory in Direct page.
ADC, AND, CMP, EOR, LDA, LDY, OR, SBC, STA
STY, XMA, ASL, DEC, INC, LSR, ROL, ROR
Example; G=0, X=0F5
0E550H
115H
~ ~
35H
~ ~
LDA
LDA
data
D4
H
, G=1
data
DB
{X}
{X}+
H
HYUNDAI MicroElectronics
H
~ ~
~ ~
DEC. 1999 Ver 1.04
data
;ACC RAM[X].
data Æ A
36H Æ X
A
dp+X
{X}+

Related parts for GMS81508B