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.

Overflow IndicatorThe overflow indicator is set on if <strong>the</strong> result of an arithmetic operation exceeds <strong>the</strong>logical capacity of <strong>the</strong> accumulator. This happens when an add or subtract operationproduced a result greater than 2 15 -1 or less than —2 15 . This range is from +32,767 to—32,768 in decimal notation, or from 7FFF to 8000 in hexadecimal notation.The overflow indicator may be reset only when it is tested by ei<strong>the</strong>r <strong>the</strong> skip or branchconditional instruction with <strong>the</strong> overflow-save flag equal to 0. These two instructions aredescribed in more detail in Chapter 4, "Processor Instructions." The overflow indicatoris also used as part of <strong>the</strong> I/O condition code as described previously under "CarryIndicator," and in Chapter 4 under "Input/Output Instruction."Result-Zero IndicatorThe result-zero indicator is set on when <strong>the</strong> result field of an operation contains all 0's.Result-Even IndicatorThe result-even indicator is set on when <strong>the</strong> low-order bit (bit 15) of a result field is setto 0, indicating that <strong>the</strong> operation has produced an even number.Result-Positive IndicatorThe result-positive indicator is set on when <strong>the</strong> high-order bit (bit 0, <strong>the</strong> sign bit) of aresult field is set to 0, indicating a positive number. If <strong>the</strong> numeric value of <strong>the</strong> entireresult field is 0, this indicator is set off because <strong>the</strong> result-positive definition does notinclude a 0 value.Result-Negative IndicatorThe result-negative indicator is set on when <strong>the</strong> high-order bit (bit 0, <strong>the</strong> sign bit) of aresult field is set to 1, indicating a negative number. A negative 0 is not represented in<strong>the</strong> <strong>System</strong>/7.STORAGE PROTECT (5010 PROCESSOR MODULE MODEL E ONLY)Storage protect on <strong>the</strong> 5010 Model E provides protection against inadvertentstoring in a selected location. No read protection is provided; this protection is onlyagainst storing.Storage is divided into blocks of 512 words. Each block has a storage key 3 bits longset by <strong>the</strong> alter storage key instruction. (See "Storage Protect Instructions" in Chapter4).Each of <strong>the</strong> 4 priority interruption levels is provided with a 3-bit protect key. A protectkey can be assigned in 2 ways. The first method is by an alter protect key instruction.The second method is automatic and occurs during <strong>the</strong> first instruction read cyclefollowing an interruption. The protect key register for <strong>the</strong> new level is set to <strong>the</strong> samevalue as <strong>the</strong> storage key associated with <strong>the</strong> block containing <strong>the</strong> next instruction to beexecuted. This provides automatic assigning of <strong>the</strong> correct key following an interruption.Validity of <strong>the</strong> key picked by this mechanism is ensured by <strong>the</strong> location of <strong>the</strong> startinstruction address in <strong>the</strong> vector table in that area of storage controlled by <strong>the</strong> program.In this case, <strong>the</strong> address arrived at by <strong>the</strong> automatic sublevel branching technique is ina storage block with <strong>the</strong> correct key assigned to this particular interruption routine.This method of control of <strong>the</strong> storage protect mechanism permits using a storage load thatdoes not recognize <strong>the</strong> existence of storage protection provided that a system reset hasdisabled it before execution of <strong>the</strong> storage load commences. The system does not supporta mixed storage load in which some programs use <strong>the</strong> storage protect mechanism and o<strong>the</strong>rsdo not. In this case, an attempt by any program to access a protected area without a keymatch causes a program check interruption.<strong>IBM</strong> 5010 Processor Module 2-13

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

Saved successfully!

Ooh no, something went wrong!