Datasheet

64
.word start
;––– additionally define reset vector in EPROM if final version
.if DVLP = 0
.sect EPRM_RES, 0E9FEh((TRIAL1)*22h)
.word start
; write identification to EPROM if final version. This MUSt be the LAST
section !
.sect IDENT, 0E9DEh((TRIAL1)*22h)
.word 0AA55h
.endif
NOTE: Identification Pattern AA55h
Program the identification pattern as the last word of the download. To assure this, the section
containing the identification should be the last section in the source file.
The following code is an example of the EPROM user interrupt vector table and the associated key for its
activation.
.sect Int_Vect,0E90Eh((TRIAL1)*22h)
.word POIFG.27 ; I/O Port 0
.word BTIFG ; Basic Timer
.word RESET ;
.word RESET ;
.word RESET ; (TimerB)
.word ADCIFG ; ADC, Timer/Port
.word RESET ; Timer/Port
.word RESET ; (SCI)
.word RESET ; (TimerA)
.word RESET ; (TimerA)
.word WDTIFG ; Watchdog timer
.word RESET ; (SPI)
.word POIFG.1 ; Dedicated I/O
.word POIFG.0 ; Dedicated I/O
.word OFIFG ; OSC. fault
.word WDTIFG ; Power-up, ext. Reset, Watchdog
.sect IDENT,0E9DEh((TRIAL1)*22h)
.word 0AA55h
.end