
MOTOROLA
M68VZ328ADS USER’S MANUAL
C-39
APPENDIX C
MONITOR INITIALIZATION CODE
C.1 INITIALIZATION CODE OF METROWERKS MONITOR (RESET.S)
;******************************************************************;
;
This is the boot routine for the MC68VZ328 ADS board. Product
; engineers should examine all the configurations carefully and
; change them according to their system requirements.
;******************************************************************;
MON_BOOT
.equ
___reset ; Boot entry point
MON_STACKTOP.equ$4100
; Initial stack
M328BASE
.equ $FFFFF000
;
Base address for system registers
; SIM28 System Configuration Registers
SCR
.equ
(M$000)
; Chip Select Registers
; CS Group Base Registers
GRPBASEA
.equ(M$100)
GRPBASEB
.equ(M$102)
GRPBASEC
.equ(M$104)
GRPBASED
.equ(M$106)
; CS Registers
CSA
.equ
(M$110)
CSB
.equ
(M$112)
CSC
.equ
(M$114)
CSD
.equ
(M$116)
CSCR
.equ
(M$10A)
DRAMCFG
.equ
(M$C00)
DRAMMC
.equ
(M$C00)
DRAMCTL
.equ
(M$C02)
DRAMC
.equ
(M$C02)
SDCTRL
.equ
(M$C04)
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
PCPUEN
.equ
(M$412); Pullup Enable Reg
PCPDEN
.equ
(M$412); Pull-down Enable Reg
PCSEL
.equ
(M$413); Select Reg
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..