English
Language : 

MC68HC16Z1CAG16 Datasheet, PDF (458/500 Pages) Freescale Semiconductor, Inc – M68HC16Z Series users manual
Freescale Semiconductor, Inc.
E.1.2 ORG00000.ASM
*
Title : ORG00000
*
Description : This file is included to set up the reset
*
vector ($00000 - $00006).
*
****************************************************************************
ORG
DC.W
DC.W
DC.W
DC.W
$0000
$0010
$0200
$03FE
$0000
;put the following reset vector
;information
;at address $00000 of the memory map
;zk=0, sk=1, pk=0
;pc=200 -- initial program counter
;sp=03fe -- initial stack pointer
;iz=0 -- direct page pointer
E.1.3 ORG00008.ASM
* Title : ORG00008
* Description : This file initializes the interrupt/
*
exception vectors ($0008 - $01fe).
*
If an interrupt occurs requiring the use of
*
any of these vectors, program flow will
*
continue at the label “bdm” which must be
*
added by the programmer to his/her code to
*
put the program into background debug mode
*
or some other appropriate routine.
*
*********************************************************************
ORG $0008
;put the following code in memory
;starting at address $0008 of the map
;(after the reset vector).
;there is a total of 252 of these
;”DC.W BDM” lines
;Vector Number (in base 10)
;and Vector Description
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
DC.W BDM
;4 Breakpoint (BKPT)
;5 Bus Error (BERR)
;6 Software Interrupt (SWI)
;7 Illegal Instruction
;8 Divide by Zero
;9 (Unassigned Reserved)
;10 (Unassigned Reserved)
;11 (Unassigned Reserved)
;12 (Unassigned Reserved)
;13 (Unassigned Reserved)
;14 (Unassigned Reserved)
;15 Uninitialized Interrupt
;16 (Unassigned Reserved)
;17 Level 1 Interrupt Autovector
;18 Level 2 Interrupt Autovector
;19 Level 3 Interrupt Autovector
;20 Level 4 Interrupt Autovector
INITIALIZATION AND PROGRAMMING EXAMPLES M68HC16 Z SERIES
E-6
For More Information On This Product,
USER’S MANUAL
Go to: www.freescale.com