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.

Miscellaneous Machine RegistersStorage Data Register (SDR)The storage data register holds 16 data bits and two parity bits. Every word of data transferredto or from main storage by <strong>the</strong> processor passes through <strong>the</strong> SDR. The contents of<strong>the</strong> storage data register can be displayed by <strong>the</strong> console data lights.Operation Register (Op)The operation register is a 16-bit register that holds <strong>the</strong> first 16 bits of. <strong>the</strong> instructionaccessed from storage. In most cases <strong>the</strong>se 16 bits are •<strong>the</strong> complete instruction. The<strong>System</strong>/7 processor interprets <strong>the</strong>se bits and performs <strong>the</strong> operation required. The contentsof <strong>the</strong> operation register can be displayed by <strong>the</strong> data lights on <strong>the</strong> operator console.PROGRAM INDICATORSThe <strong>System</strong>/7 has six indicators that show <strong>the</strong> status of <strong>the</strong> result field after an instructionis executed. These indicators are called carry, overflow, result-zero, result-even, resultpositive,and result-negative. At <strong>the</strong> completion of most instructions, <strong>the</strong>se programindicators are set accordingly. Some of <strong>the</strong> branching instructions can test <strong>the</strong>se indicatorsfor conditional branching situations.Once an instruction turns <strong>the</strong> indicators ei<strong>the</strong>r on or off, <strong>the</strong>y remain in this state(and can be tested) until <strong>the</strong> execution of ano<strong>the</strong>r instruction that changes <strong>the</strong> indicatorsaccording to <strong>the</strong> result of <strong>the</strong> operation. (Refer to <strong>the</strong> detailed description of <strong>the</strong>individual instructions in Chapter 4, "Processor Instructions," to determine <strong>the</strong> effectof each instruction on <strong>the</strong> setting of <strong>the</strong>se six program indicators.)Each of <strong>the</strong> four priority interruption levels has a set of program indicators. Thecarry and overflow indicator settings are described separately in each instructiondescription. The four result indicators are grouped toge<strong>the</strong>r and referred to as:<strong>the</strong> resultindicators, since <strong>the</strong>y always indicate <strong>the</strong> results of an operation in a register or in<strong>the</strong> accumulator.Carry IndicatorThe carry indicator is used for three functions:1. To indicate that an operation has produced a result that exceeds <strong>the</strong> physicalcapacity of <strong>the</strong> system.2. To hold one of <strong>the</strong> two condition code bits during an I/O instruction.3. To hold <strong>the</strong> summary status bit during interruption servicing.The following three conditions turn on <strong>the</strong> carry indicator when <strong>the</strong> physical capacityof <strong>the</strong> accumulator is exceeded:1. During a shift-left operation (excluding shift-left circular) when <strong>the</strong> last bitshifted out of bit position 0 (<strong>the</strong> sign bit) was a 1-bit.2. During an add operation, when a carry out of bit position 0 (<strong>the</strong> sign bit) wasa 1-bit.3. During a subtract operation, when a borrow beyond bit 0 occurs.The carry indicator is automatically reset prior to each add, subtract, and noncircularshift-left operation.At <strong>the</strong> conclusion of an I/O instruction <strong>the</strong> carry and overflow indicators are set toreflect a two-bit condition code returned by <strong>the</strong> I/O device. Values of <strong>the</strong> condition codeare covered in more detail in Chapter 4 under "Input/Output Instruction."The use of <strong>the</strong> carry indicator to hold <strong>the</strong> summary status bit during interruptionsis covered more fully in Chapter 3, "<strong>System</strong>/7 Interruptions."2-12 GA34-0003

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

Saved successfully!

Ooh no, something went wrong!