Program Memory - Abov MC80F0304 User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

MC80F0304/08/16
At execution of
At acceptance
At execution
At execution
a CALL/TCALL/PCALL
of interrupt
of RET instruction
of RET instruction
01FF
PCH
Push
01FF
PCH
01FF
PCH
01FF
PCH
01FE
PCL
down
01FE
PCL
Push
down
01FE
PCL
up
Pop
01FE
PCL
up
Pop
01FD
01FD
PSW
01FD
01FD
PSW
01FC
01FC
01FC
01FC
SP before
execution
01FF
01FF
01FD
01FC
SP after
01FD
01FC
01FF
01FF
execution
At execution
At execution
of PUSH instruction
PUSH A (X,Y,PSW)
of POP instruction
POP A (X,Y,PSW)
01FF
A
down
Push
01FF
A
up
Pop
0100
H
Stack
01FE
01FD
01FE
01FD
depth
01FC
01FC
01FF
H
SP before
01FF
01FE
execution
SP after
execution
01FE
01FF
Figure 8-4 Stack Operation

8.2 Program Memory

A 16-bit program counter is capable of addressing up to 64K
bytes, but this device has 4K/8K/16K bytes program memory
FFFF
space only physically implemented. Accessing a location above
will cause a wrap-around to 0000
.
H
H
C000
H
CPU begins execution from reset vector which is stored in ad-
Figure 8-5 , shows a map of Program Memory. After reset, the
E000
dress FFFE
H
and FFFF
H
as shown in Figure 8-6 .
H
As shown in Figure 8-5 , each area is assigned a fixed location in
F000
H
Program Memory. Program Memory area contains the user pro-
gram
FEFF
FF00
H
H
FFDF
FFC0
H
TCALL area
H
FFE0
FFFF
Vector Area
H
H
Interrupt
Figure 8-5 Program Memory Map
Page Call (PCALL) area contains subroutine program to reduce
34
November 4, 2011 Ver 2.12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents