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.

Table word(hexadecimal)nn + 1n + 2n + 3n + 4n + 5n + 6Contents(hexadecimal)Level 0 program - check old instruction addressLevel 0 sublevel 0 interrupt routine addressLevel 0 sublevel 1 interrupt routine addressLevel 0 sublevel 2 interrupt routine addressLevel 0 sublevel 3 interrupt routine addressLevel 0 sublevel 4 interrupt routine addressLevel 0 sublevel 5 interrupt routine addressAscending n + 7 Level 0 sublevel 6 interrupt routine addressstorage n + 8 Level 0 sublevel 7 interrupt routine addresslocations n + 9 Level 0 sublevel 8 interrupt routine addressn + An + Bn + Cn + Dn + En + Fn + 10Level 0 sublevel 9 interrupt routine addressLevel 0 sublevel A interrupt routine addressLevel 0 sublevel B interrupt routine addressLevel 0 sublevel C interrupt routine addressLevel 0 sublevel D interrupt routine addressLevel 0 sublevel E interrupt routine addressLevel 0 sublevel F interrupt routine addressFigure 3-4. Priority level table formatInterrupt Sublevel BranchingThe user assigns a priority level and sublevel to an I/O device by a single prepare I/Ocommand. Each I/O device that is to request interruptions to <strong>the</strong> processor must beprepared by a separate prepare I/O command, which assigns a priority level and sublevelto <strong>the</strong> device.Upon detecting an interruption (from a source prepared for interruptions), <strong>the</strong> systemexamines <strong>the</strong> priority level to determine whe<strong>the</strong>r <strong>the</strong> interruption is to be permittedaccording to <strong>the</strong> interruption mask register. If <strong>the</strong> same level or a higher level isprocessing and <strong>the</strong> interruption is permitted, <strong>the</strong> request remains in <strong>the</strong> buffer. If <strong>the</strong>same level'or a higher level is not processing and <strong>the</strong> interruption is permitted, <strong>the</strong>interruption request is honored.Using <strong>the</strong> level number, <strong>the</strong> system accesses <strong>the</strong> branch table reserved for that level.Using <strong>the</strong> sublevel as a displacement value, <strong>the</strong> system locates <strong>the</strong> desired address in <strong>the</strong>branch table and <strong>the</strong>n branches to that address. This address is <strong>the</strong> starting address of<strong>the</strong> servicing routine that <strong>the</strong> user has established in main storage for <strong>the</strong> interruptingsource. This total interruption process is performed in less than 1 microsecond.Multiple interrupting sources (I/O devices) can be assigned to <strong>the</strong> same interruptionlevel and sublevel. Thus, a common interruption servicing routine can be used for multipleor similar I/O devices. The one device (out of two or more assigned to <strong>the</strong> same interruptionlevel and sublevel) that actually caused <strong>the</strong> interruption is determined by <strong>the</strong> program'sexamining <strong>the</strong> accumulator contents immediately after <strong>the</strong> interruption.4

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

Saved successfully!

Ooh no, something went wrong!