Samsung KS57C2308 Manual page 163

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
VENT
— Load EMB, ERB, and Vector Address
VENTn
(Continued)
Example:
The instruction sequence
ORG
VENT0
VENT1
VENT2
VENT7
causes the program sequence to branch to the
and ERB to "0" when
causes the program to branch to the basic timer's interrupt service routine, INTA, and to set the
EMB value to "0" and the ERB value to "1". VENT2 then branches to INTB, VENT3 to INTC, and
so on, setting the appropriate EMB and ERB values.
Each interrupt service routine is executed according to the devices.
0000H
1,0,RESET
0,1,INTA
0,1,INTB
0,1,INTG
is activated. When a basic timer interrupt is generated, VENT1
RESET
routine labeled
RESET
"RESET
SAM47 INSTRUCTION SET
," setting EMB to "1"
5-89

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents