English
Language : 

GMS81C7216 Datasheet, PDF (32/121 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C7208/7216
(4) Absolute Addressing → !abs
Absolute addressing sets corresponding memory data to Data, i.e.
second byte (Operand I) of command becomes lower level ad-
dress 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 ADC !0F035H
;A ←ROM[0F035H]
0F035H
data
~~
0F100H
07
0F101H
35
0F102H
F0
➋
~~ ➊ A+data+C → A
address: 0F035
The operation within data memory (RAM)
ASL, BIT, DEC, INC, LSR, ROL, ROR
Example; Addressing accesses the address 0135H regardless of
G-flag.
983501 INC !0135H
;A ←ROM[135H]
135H
data
~~
0F100H
98
0F101H
35
0F102H
01
➌
~~
➋
data+1 → data
➊
address: 0135
(5) Indexed Addressing
X Indexed Direct Page (No Offset) → {X}
In this mode, a address is specified by the X register.
ADC, AND, CMP, EOR, LDA, OR, SBC, STA, XMA
Example; X=15H, G=1
D4
LDA {X}
;ACC←RAM[X]
115H
data
~~
0E550H
D4
➋
~~
➊
data → A
X Indexed Direct Page, Auto Increment→ {X}+
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=35H
DB
LDA {X}+
35H
data
~~
DB
➋
~~
data → A
➊ 36H → X
X Indexed Direct Page (8 Bit Offset) → dp+X
This address value is the second byte (Operand) of command plus
the data of X-register. And it assigns the memory in Direct page.
ADC, AND, CMP, EOR, LDA, LDY, OR, SBC, STA STY,
XMA, ASL, DEC, INC, LSR, ROL, ROR
Example; G=0, X=0F5H
28
FEB. 2005 Ver 1.04