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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Level 1interruptionprocessing'.ros•••,.• •. ."W •W'Enter WaitStateFigure 3-1. Priority interrupt system operationLevel AssignmentsInterruption priority levels and sublevels can be assigned to I/O devices via programcontrol so that <strong>the</strong> priority organization can be restructured as <strong>the</strong> application changes.Before an I/O device can request an interruption to <strong>the</strong> <strong>System</strong>/7 processor, <strong>the</strong> I/Odevice must be prepared by a special I/O instruction. The instruction is covered in moredetail in Chapter 4, "Processor Instructions." However, a general description of <strong>the</strong>instruction is necessary at this time in order to describe <strong>the</strong> <strong>System</strong>/7 interruptionscheme more fully.The prepare I/O instruction addresses an I/O device and "tells" <strong>the</strong> device:1. If <strong>the</strong> device can interrupt.2. What priority level to use for interruptions.3. What sublevel within <strong>the</strong> priority level <strong>the</strong> device should return for processing<strong>the</strong> interruption.Level SwitchingThe <strong>System</strong>/7 processor can accept interruptions after execution of any instruction priorto fetching <strong>the</strong> next sequential instruction, or when <strong>the</strong> processor is in <strong>the</strong> wait state.(See "Processor States" in Chapter 2.)Program switching can occur from one level to ano<strong>the</strong>r with minimum overhead because<strong>the</strong> machine status of <strong>the</strong> interrupted program does not have to be saved by programming.Instead, each of <strong>the</strong> four priority levels in <strong>the</strong> processor has its own set of registers(an accumulator, a set of six program indicators, an instruction address register, anda set of seven index registers). Thus, machine status switching following an interruptionin <strong>System</strong>/7 is performed in less than 1 microsecond.<strong>System</strong>/7 Interruptions 3-3

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

Saved successfully!

Ooh no, something went wrong!