EasyManua.ls Logo

ABOV SEMICONDUCTOR MC81F4204 - Page 60

Default Icon
155 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC81F4204
60 April 24, 2012 Ver.1.41
Example:
:;WhenG=0,X=35h
LDA{X}+;A=ROM[(RPR<<8)+ X]
:;andX=X+1
:;opcodeis0DBh
:
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 :
:;WhenG=0,X=0F5h
LDA45h+X;opcodeis0C6h
:;
:;
:
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.
Y indexed absolute !abs+Y
Accessing the value of 16-bit absolute address plus Y-register value. This addressing mode can
specify memory in whole area.

Table of Contents