English
Language : 

MC81F4216 Datasheet, PDF (68/200 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4x16
Example:
:
LDA {X}+
:
:
:
;When G = 0, X = 35h
;A = ROM[(RPR<<8) + X]
; and X = X + 1
;op code is 0DBh
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 :
:
;When G = 0, X = 0F5h
LDA 45h + X ;op code is 0C6h
:
;
:
;
:
Y indexed direct page (8 bit offset) → dp+Y
This address value is the second byte (Operand) of command plus the data of Y-register, which
assigns Memory in Direct page.
This is same with above „X indexed direct page‟. Use Y register instead of X.
68
October 19, 2009 Ver.1.35