Freescale Semiconductor, Inc.
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
Monitor Initialization Code Freescale Semiconductor, Inc.
;
;Initialize I/O to avoid contention
;**********************************************************************ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
;TBD since the contention does not affect ADS operation
;**********************************************************************
;
;Program Interrupt Controller
;**********************************************************************
move.b #$40,IVR |
|
move.l #$007FFFFF,IMR | ;enable NMI interrupt |
endm |
|
;**************************************************
;Soft reset macro - contains instructions
;which must be executed upon a processor reset.
;**************************************************
RESET_SOFT: macro
;***************************************
;* Setting for MC68681
;***************************************
.if "\{DEV_IN}"=="MC68681"
MC68681ctur | equ | (BASE_IN+OFF6) |
|
|
|
| |
MC68681ctlr | equ | (BASE_IN+OFF7) |
|
|
|
| |
| move.b | #IRQ_MASK,MC68681imr | ;set | value | of | IMR | |
| move.b | #ACR_VAL,MC68681acr | ;set | value | of | ACR |
;Setting for baudrates = 57600bps move.b #00,MC68681ctur
move.b #02,MC68681ctlr ; divider=2
.endif
endm
****************************************************************************
*OTHER DEFINITIONS
****************************************************************************
USER_DEFS: macro
;***************************************
;* Setting for MC68681
;***************************************
.if "\{DEV_IN}"=="MC68681" xdef MC68681acr
xdef MC68681imr
SECTION usr_ram
MC68681acr: ds.b 1 ;ACR register
For More Information On This Product,
Go to: www.freescale.com