12.07.2015 Views

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>System</strong>/7 configurations can include a large number of devices and attachments capable ofsending and receiving data. Such a device or attachment can be an I/O module or an internalmachine checking circuit. Some operations are more important than o<strong>the</strong>rs, so <strong>the</strong> <strong>System</strong>/7program must be able to recognize <strong>the</strong> more important requests for processing in <strong>the</strong> jobbeing performed. Such requests are presented from some external source to <strong>the</strong> processoras interruptions. That is, <strong>the</strong> current operation being performed by <strong>the</strong> processor isstopped, temporarily, so that a more important operation can be processed. The statusof <strong>the</strong> interrupted operation is saved in <strong>the</strong> machine registers, <strong>the</strong> higher-priorityoperation is performed, and <strong>the</strong>n control of <strong>the</strong> system is returned to <strong>the</strong> interruptedoperation in <strong>the</strong> program.Two types of interruptions can occur on <strong>the</strong> <strong>System</strong>/7—priority interruptions and classinterruptions. Each type is explained fur<strong>the</strong>r in <strong>the</strong> following sections.PRIORITY INTERRUPTIONSPriority LevelsThe priority interruption scheme establishes four priority levels (numbered 0 to 3) forinterrupting sources to obtain servicing by <strong>the</strong> processor. Each priority level has 16sublevels, and each sublevel can be assigned to a different processing routine, if desired.As long as no higher priority device requests attention, current program processing andcommunication with I/O devices continues to completion. Upon completion of <strong>the</strong> currentprocessing, <strong>the</strong> program must exit from <strong>the</strong> level. If no interruptions are pending at thistime, <strong>the</strong> machine goes into <strong>the</strong> wait state. In <strong>the</strong> wait state no processing is performed,but <strong>the</strong> machine can recognize and accept interruptions that are expected to occur.If interruptions are pending on <strong>the</strong> same or lower priority levels, when <strong>the</strong> currentprogram level exit occurs, <strong>the</strong> machine does not enter <strong>the</strong> wait state, but immediatelybegins servicing <strong>the</strong> highest pending priority interruption. The machine will execute oneinstruction on <strong>the</strong> highest level in <strong>the</strong> backup register before accepting <strong>the</strong> new interrupt.Current processing is interrupted only by requests on a higher priority level, not for requestson a higher sublevel within <strong>the</strong> current priority level. For example, if <strong>the</strong> machineis processing sublevel 9 on priority level 2, an interruption on sublevel 5, priority level 2will not interrupt <strong>the</strong> processing for sublevel 9.If an interruption occurs that is assigned to a higher priority level than <strong>the</strong> currentlyexecuting program, <strong>the</strong> current program's status is automatically saved in <strong>the</strong> machineregisters assigned to <strong>the</strong> level that was interrupted, and processing transfers to <strong>the</strong>routine that services <strong>the</strong> higher priority request. This routine can, in turn, beinterrupted by a still higher priority request. The original program is not resumeduntil all higher priority interruptions are serviced. Figure 3-1 illustrates <strong>the</strong> priorityinterruption scheme just discussed.3-2 GA34-00003

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!