Fujitsu MB90460 Series Hardware Manual page 174

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

MOV
MOV
OR
:
LOOP
BRA
;---------------Interrupt program-----------------------------------------------------------------------------------------
WARI
CLRB
:
User processing
:
RETI
CODE
ENDS
;---------------Vector processing----------------------------------------------------------------------------------------
VECT
CSEG
ORG
DSL
ORG
DSL
DB
VECT
ENDS
END
I:ENIR, #01H
ILM, #07H
CCR, #40H
LOOP
ER0
ABS=0FFH
0FFACH
; Sets vector for interrupt #20 (14H)
WARI
0FFDCH
;Sets reset vector
START
00H
;Sets single-chip mode
START
CHAPTER 7 INTERRUPT
;Enables INT0 interrupts
;Sets the ILM in the PS to level 7
;Sets the I flag of the CCR in the PS
and enables interrupts
;Infinite loop
;Clears interrupt/DTP request flag
2
;Checks EI
OS termination factor,
;processes data in buffer, sets EI
again
2
OS
155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents