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.

Instruction Address Register (IAR)The instruction address register (IAR) holds <strong>the</strong> address of <strong>the</strong> next instruction to beexecuted (see Figure 2-2). During program execution <strong>the</strong> contents of <strong>the</strong> IAR are placed in<strong>the</strong> storage address register for fetching <strong>the</strong> contents of <strong>the</strong> next location in storage.The IAR is incremented immediately after its contents have been placed in <strong>the</strong> storageaddress register. Consequently, <strong>the</strong> IAR contains <strong>the</strong> address of <strong>the</strong> next location instorage at <strong>the</strong> time <strong>the</strong> current instruction is executed.For example, assume that <strong>the</strong> following instruction is being executed:Storage Storage contents Instruction address registerAddress 0 15 0 150500 Instruction0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1I I I I I I I I I I I I I I I I I I I I I I I I I i I I I0 5 0 1Points to0501 Instruction or dataI I I II I I I I I I I I I IThe 16-bit IAR contains <strong>the</strong> address of <strong>the</strong> storage word immediately following <strong>the</strong>instruction being executed. In most cases, this next word is <strong>the</strong> next instruction to beexecuted. Sometimes, however, <strong>the</strong> contents of <strong>the</strong> IAR are changed as a result of <strong>the</strong>instruction being executed. Execution of a branch instruction, for example, can causeaccessing of <strong>the</strong> next instruction from a storage location o<strong>the</strong>r than <strong>the</strong> locationimmediately following <strong>the</strong> current instruction.The <strong>System</strong>/7 processor also has three backup instruction address registers (IARB 1,IARB 2, and IARB 3) for priority interruption levels 1, 2, and 3, respectively. When achange of interruption level occurs on level 1, 2, or 3, <strong>the</strong> IAR is automatically savedin <strong>the</strong> IARB for <strong>the</strong> level that is interrupted. (There is no need for an IARB for level 0because level 0 is <strong>the</strong> highest priority level and cannot be interrupted. Therefore, IARB 0is used for <strong>the</strong> old IAR and will point to <strong>the</strong> address of <strong>the</strong> last instruction executed.)When a return is made to <strong>the</strong> interrupted level, processing will resume at <strong>the</strong> locationspecified by <strong>the</strong> saved address.The contents of <strong>the</strong> IAR or any IARB can be displayed on <strong>the</strong> operator console. Thecontents of <strong>the</strong> IAR can also be modified via <strong>the</strong> console switches.Index Registers (XR1 to XR7)The <strong>System</strong>/7 processor has seven index registers for each of <strong>the</strong> four priority interruptionlevels (see Figure 2-2). Each index register has 16 data bits plus 2 parity bits. The contentsof index registers can be used in generating effective addresses as described in Chapter 4under "Effective Address Generation." The contents of index registers can also be manipulatedin arithmetic and logical operations. These manipulations are explained in <strong>the</strong>detailed instruction descriptions in Chapter 4 "Processor Instructions."The contents of any selected index register can be displayed on <strong>the</strong> operator console ormodified via <strong>the</strong> console switches.2-10 GA34-0003

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

Saved successfully!

Ooh no, something went wrong!