English
Language : 

MC80F0204 Datasheet, PDF (34/126 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0104/0204
Preliminary
983501 INC !0135H
;A ←ROM[135H]
135H
data
~~
0F100H
98
0F101H
35
0F102H
01
➌
~~
➋
data+1 → data
➊
address: 0135
8.4.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].
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 com-
mand plus the data of X-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=0F5H
C645
LDA 45H+X
115H
data
~~
0E550H
D4
➋
~~
➊
data → A
3AH
data
~~
0E550H
C6
0E551H
45
➌
~~
➋ data → A
➊
45H+0F5H=13AH
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}+
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 memo-
ry in whole area.
Example; Y=55H
30
Mar. 2005 Ver 0.2