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.

Module address field:Module addresses:Six-position enclosureThree-position enclosure26 29 310 0 X XXX000 011 000001 100 001010 101 010Two-position enclosure0 or 10 = Main enclosure1 = Expansion enclosure0-5Selects module position000XXXFigure 4-3. <strong>System</strong>/7 module addressingWith <strong>the</strong> two-position enclosure, any value in bits 29 to 31 (bits 13 to 15 of <strong>the</strong> secondinstruction word) o<strong>the</strong>r than 000 addresses <strong>the</strong> single I/O module position. The valuechosen to initially address <strong>the</strong> single I/O module must also be used for all subsequentaddressing of that module by <strong>the</strong> same program. However, because of <strong>the</strong> possibility offuture expansion of such a configuration, it is advisable to specify a value of 010 or 101.By specifying one of <strong>the</strong>se two values, <strong>the</strong> I/O module can be installed in <strong>the</strong> same relativeposition in a larger configuration (that is, at <strong>the</strong> bottom of <strong>the</strong> enclosure). Thus, <strong>the</strong>amount of program redesign and customer termination rewiring will be minimized whenchanging to a three- or six-position enclosure.The processor module occupies <strong>the</strong> first position in <strong>the</strong> main enclosure; <strong>the</strong>refore, itsmodule address is always 000000.Each time an I/O command is issued, <strong>the</strong> processor determines whe<strong>the</strong>r (1) <strong>the</strong> commandwas executed successfully, (2) an error occurred, (3) <strong>the</strong> device was busy or an interruptionwas pending, or (4) <strong>the</strong> device was not attached to <strong>the</strong> system. One of <strong>the</strong>se machineconditions is indicated by <strong>the</strong> two-bit condition code, whose settings are determined (andmade available to <strong>the</strong> program) by <strong>the</strong> results of <strong>the</strong> I/O operation. The two bits used forcondition codes are <strong>the</strong> same two bits that serve as carry and overflow indicators foro<strong>the</strong>r machine instructions. A summary of <strong>the</strong> condition codes and <strong>the</strong>ir settings as indicatedby <strong>the</strong> carry and overflow indicators is shown in Figure 4-4.The result indicators are changed only by an immediate read command to reflect <strong>the</strong>final contents of <strong>the</strong> register specified by <strong>the</strong> R field of <strong>the</strong> PIO instruction.ConditioncodeCarry (C)Overflow (0)Command functionsWrite Read PrepareI/OHaltI/OSetinterrupt0 C 00 = 0S S S S S1 C = 0 E E+ E0 = 12C = 10 = 0B 13 . 4- B BA3 C= 1 X X+ X X X**0 = 1vÃv4-56 GA34-0003Key to symbols:S = Satisfactory operationE = Error detectedB = Busy or interruption pendingX = Device not attachedFigure 4-4. Condition codes* = Not used on read status command** = Returned only if set interrupt is directed athost and no host processor is attached.+= With immediate read command, validity oftarget register contents is not guaranteed.Register may have invalid data and/or parity.

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

Saved successfully!

Ooh no, something went wrong!