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.

Skip Conditional (PSKC)0 5 8 9 15Op code R F Conditions01 0 0 11 1 1 1 1 1 1 14 8 X XThe skip conditional instruction (PSKC) skips <strong>the</strong> one-word instruction that immediatelyfollows <strong>the</strong> PSKC instruction only if certain conditions are present. These conditions arespecified within <strong>the</strong> PSKC instruction. Since only one word is skipped, <strong>the</strong> PSKC instrutionshould never be followed by a long-format instruction. Any combination of testingcan be requested.The programmer determines what tests are conducted to decide whe<strong>the</strong>r a skip will betaken. This is accomplished by setting bits on or off in <strong>the</strong> condition field (bits 8 to 15)of <strong>the</strong> instruction.The bits and <strong>the</strong>ir meanings are shown below:Bit Set On Condition Tested9 Carry and overflow indicators both off10 Zero-result indicator on11 Negative-result indicator on12 Positive-result indicator on13 Even-result indicator on14 Carry indicator off15 Overflow indicator offIf any one of <strong>the</strong> specified test conditions is present, <strong>the</strong> skip takes place by incrementing<strong>the</strong> IAR by 1 before <strong>the</strong> next instruction is fetched from storage. If none of <strong>the</strong>specified test conditions are present, or no conditions are tested (all condition field bitsare set to 0's), <strong>the</strong> instruction sequence does not skip <strong>the</strong> next word, but ra<strong>the</strong>r executes<strong>the</strong> instruction contained in <strong>the</strong> next word.The R field is ignored in this instruction.The PSKC instruction does not change <strong>the</strong> carry and result indicators. Testing <strong>the</strong>overflow indicator with bit 15 always set <strong>the</strong> overflow indicator off unless condition fieldbit 8 (overflow-save flag) of <strong>the</strong> instruction is set on. Testing <strong>the</strong> overflow indicator withbit 9 does not change <strong>the</strong> overflow indicator; <strong>the</strong> overflow-save flag has no effect.Example 1:0 5 8 9 15PSKC instruction0iOp code1 0 0 1i 11R'IIF0Conditions0 0 0 1 0 0 0 0!I'M4 8 0 0No testing is requested since all condition field bits are O's. No skip occurs.

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

Saved successfully!

Ooh no, something went wrong!