INTERRUPTS
11-9
11
11.6.3
Timer Interrupts
Each of the two timer units has an associated interrupt to allow the application to accept or post the
interrupt request. Timer unit interrupt requests are always handled as dedicated-mode interrupt
requests.
11.6.4
Software Interrupts
The application program may use the
sysctl
instruction to request interrupt service. The vector that
sysctl
requests is serviced immediately or posted in the interrupt table’s pending interrupts section,
depending upon the current processor priority and the request’s priority. The interrupt controller
caches the priority of the highest priority interrupt posted in the interrupt table. The processor can
request vector 248 (NMI) as a software interrupt; however, the interrupt vector will be read from
the interrupt table, not from the internal vector cache.
11.6.5
Posting Interrupts
Interrupts are posted to the processor by a number of different mechanisms; these are described in
the following sections.
•
Software interrupts: interrupts posted through the interrupt table, by software running on
the i960 Jx processor.
•
External Interrupts: interrupts posted through the interrupt table, by an external agent to
the i960 Jx processor.
•
Hardware interrupts: interrupts posted directly to the i960 Jx processor through an imple-
mentation-dependent mechanism that may avoid using the interrupt table.
11.6.5.1
Posting Software Interrupts via sysctl
In the i960 Jx processor,
sysctl
is typically used to request an interrupt in a program (see
Example 11-1
). The request interrupt message type (00H) is selected and the interrupt vector
number is specified in the least significant byte of the instruction operand. See
section 6.2.67,
“sysctl” (pg. 6-114)
for a complete discussion of
sysctl
.
Содержание i960 Jx
Страница 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Страница 24: ......
Страница 25: ...1 INTRODUCTION ...
Страница 26: ......
Страница 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Страница 36: ......
Страница 46: ......
Страница 47: ...3 PROGRAMMING ENVIRONMENT ...
Страница 48: ......
Страница 73: ...4 CACHE AND ON CHIP DATA RAM ...
Страница 74: ......
Страница 85: ...5 INSTRUCTION SET OVERVIEW ...
Страница 86: ......
Страница 111: ...6 INSTRUCTION SET REFERENCE ...
Страница 112: ......
Страница 195: ...INSTRUCTION SET REFERENCE 6 83 6 Opcode mov 5CCH REG movl 5DCH REG movt 5ECH REG movq 5FCH REG See Also LOAD STORE lda ...
Страница 233: ...7 PROCEDURE CALLS ...
Страница 234: ......
Страница 256: ......
Страница 257: ...8 FAULTS ...
Страница 258: ......
Страница 291: ...9 TRACING AND DEBUGGING ...
Страница 292: ......
Страница 309: ...10 TIMERS ...
Страница 310: ......
Страница 324: ......
Страница 325: ...11 INTERRUPTS ...
Страница 326: ......
Страница 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Страница 370: ......
Страница 412: ......
Страница 413: ...13 MEMORY CONFIGURATION ...
Страница 414: ......
Страница 429: ...14 EXTERNAL BUS ...
Страница 430: ......
Страница 468: ......
Страница 469: ...15 TEST FEATURES ...
Страница 470: ......
Страница 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Страница 494: ......
Страница 502: ......
Страница 503: ...B OPCODES AND EXECUTION TIMES ...
Страница 504: ......
Страница 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Страница 516: ......
Страница 523: ...D REGISTER AND DATA STRUCTURES ...
Страница 524: ......
Страница 550: ......
Страница 551: ...GLOSSARY ...
Страница 552: ......
Страница 561: ...INDEX ...
Страница 562: ......
Страница 578: ......