MOTOROLA
M68EZ328ADS v2.0 USER’S MANUAL
D-40
APPENDIX D
MONITOR INITIALIZATION CODE
D.1 INITIALIZATION CODE OF METROWERKS MONITOR (RESET.S)
MON_STACKTOP.equ$4100;
Above is TOO low, try this
M328BASE
.equ $FFFFF000
; SIM28 System Configuration Registers
SCR
.equ
(M$000)
; Chip Select Registers
GRPBASEA
.equ
(M$100)
GRPBASEB
.equ
(M$102)
GRPBASEC
.equ
(M$104)
GRPBASED
.equ
(M$106)
CSA
.equ
(M$110)
CSB
.equ
(M$112)
CSC
.equ
(M$114)
CSD
.equ
(M$116)
DRAMCFG
.equ
(M$C00)
DRAMCTL
.equ
(M$C02)
EMUCS
.equ
(M$118)
CSCTR
.equ
(M$150)
; PLL Registers
PLLCR
.equ
(M$200) ; Control Reg
PLLFSR
.equ
(M$202) ; Freq Select Reg
PLLTSR
.equ
(M$204) ; Test Reg
; Power Control Registers
PCTLR
.equ
(M$206) ; Control Reg
; Interrupt Registers
IVR
.equ
(M$300) ; Interrupt Vector Reg
ICR
.equ
(M$302) ; Interrupt Control Reg
IMR
.equ
(M$304) ; Interrupt Mask Reg
ISR
.equ
(M$30C) ; Interrupt Status Reg
IPR
.equ
(M$310) ; Interrupt Pending Reg
; PIO Registers
; Port A Registers
PADIR
.equ
(M$400) ; Direction Reg
PADATA
.equ
(M$401) ; Data Reg
PAPUEN
.equ
(M$402) ; Pullup Enable Reg
; Port B Registers
PBDIR
.equ
(M$408) ; Direction Reg
PBDATA
.equ
(M$409) ; Data Reg
PBPUEN
.equ
(M$40A) ; Pullup Enable Reg
PBSEL
.equ
(M$40B) ; Select Reg
; Port C Registers
PCDIR
.equ
(M$410) ; Direction Reg
PCDATA
.equ
(M$411) ; Data Reg
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
ARCHIVED BY FREESCALE SEMICONDUCT
OR,
INC.
2005