English
Language : 

MC81F4332 Datasheet, PDF (62/198 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4x16
Direct Page Addressing -> dp
In this mode, an address is specified within direct page. Current accessed page is selected by
RPR(RAM Page select Register). And dp( Direct Page ) is an one byte data which indicates the
target address in the current accessed page.
Example :
:
LDA 35h
:
:
;When G = 0
;A = [35h]
;op code is 0C5h
Absolute Addressing
Absolute addressing sets corresponding memory data to Data, i.e. second byte (Operand I) of
command becomes lower level address 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
The operation within data memory (RAM) : ASL, BIT, DEC, INC, LSR, ROL, ROR
Example :
:
;When G = 0
ADC !0F035h ;A = A + C + ROM[0F035h]
:
;op code is 07h
:
62
October 19, 2009 Ver.1.35