INTERRUPTS
11-28
Interrupts can be enabled and disabled quickly by the new
intdis
and
inten
instructions, which
take four cycles each to execute.
intctl
takes a few cycles longer because it returns the previous
interrupt enable value. See
CHAPTER 6, INSTRUCTION SET REFERENCE
for more
information on these instructions.
11.7.5.3
Default and Reset Register Values
The ICON and IMAP2:0 control registers are loaded from the control table in external memory
when the processor is initialized or reinitialized. The control table is described in
section 12.3.3,
“Control Table” (pg. 12-20)
. The IMSK register is set to 0 when the processor is initialized
(RESET is deasserted). The IPND register value is undefined after a power-up initialization (cold
reset). The application is responsible for clearing this register before any mask register bits are set;
otherwise, unwanted interrupts may be triggered. The pending register value is retained for a reset
while power is on (warm reset).
11.8
INTERRUPT OPERATION SEQUENCE
The interrupt controller, microcode and core resources handle all stages of interrupt service.
Interrupt service is handled in the following stages:
Requesting Interrupt — In the i960 Jx processor, the programmable on-chip interrupt controller
transparently manages all interrupt requests. Interrupts are generated by hardware (external
events) or software (the application program). Hardware requests are signaled on the 8-bit external
interrupt port (XINT[7:0]), the non-maskable interrupt pin (NMI) or the two timer channels.
Software interrupts are signaled with the
sysctl
instruction with post-interrupt message type.
Posting Interrupts — When an interrupt is requested, the interrupt is either serviced immediately
or saved for later service, depending on the interrupt’s priority. Saving the interrupt for later
service is referred to as posting. Once posted, an interrupt becomes a pending interrupt. Hardware
and software interrupts are posted differently:
•
Hardware interrupts are posted by setting the interrupt’s assigned bit in the interrupt pending
(IPND) memory mapped register
•
Software interrupts are posted by setting the interrupt’s assigned bit in the interrupt table’s
pending priorities and pending interrupts fields
Содержание 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: ......