EasyManua.ls Logo

ABOV SEMICONDUCTOR MC81F4204 - 9.7 Addressing Modes

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
April 24, 2012 Ver.1.41 57
9.7 Addressing modes
The MC81Fxxxx series MCU uses six addressing modes;
- Register Addressing
- Immediate Addressing
- Direct Page Addressing
- Absolute Addressing
- Indexed Addressing
- Indirect Addressing
Register Addressing
Register addressing means to access to the data of the A, X, Y, C and PSW registers. For Example
‘ASL ( Arithmetic Shift Left )’ only accesses the A register.
Immediate Addressing
In this mode, second byte (operand) is accessed as a data immediately.
Example :
:
ADC#35h;opcodeis04h
:
:
When G-flag is 1, then RAM address is defined by 16-bit address which is composed of 8-bit RAM
paging register (RPR) and 8-bit immediate data.
Example :
:;WhenG=1,RPR=1
LDM#35h,#55h;opcodeis0E4h
:
:

Table of Contents