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