27.07.2013 Views

U UNIVAC 1218 - Bitsavers

U UNIVAC 1218 - Bitsavers

U UNIVAC 1218 - Bitsavers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. GENERAL<br />

SECTION 1-8-7. SKIP AND STOP INSTRUCTIONS<br />

Skip instructions are used to skip one instruction and then continue in sequence.<br />

The stop instruction permits programmed stops in a running program. The instructions<br />

which follow provide the means for programming both conditional<br />

and unconditional skips and stops.<br />

2. INSTRUCTIONS<br />

50 21 SKIP ON INPUT INACTIVE (SKPIIN)<br />

Execution time: 6 microseconds skip; 4.67 no skip<br />

Test for output activity on channel k. If inactive,<br />

skip the next insturction; otherwise, take the next<br />

instruction.<br />

50 22 SKIP ON OUTPUT INACTIVE (SKPOIN)<br />

Execution time: 6 microseconds skip; 4.67 no skip<br />

Test for output activity on channel k. If inactive,<br />

skip the next instruction; otherwise, take the next<br />

instruction.<br />

50 23 SKIP ON EXTERNAL FUNCTION INACTIVE (SKPFIN)<br />

Execution time: 6 microseconds skip; 4.67 no skip<br />

Test for external function activity or channel k. If<br />

inactive, skip the next instruction; otherwise, take<br />

the next instruction.<br />

50 50 SKIP ON KEY SETTING (SKP)<br />

Execution time: 6 microseconds skip; 4.67 no skip<br />

If bit 4, 3, 2, 1, or 0 of k is one and the corresponding<br />

skip key 4, 3, 2, 1, or 0 is set, or if bit 5 of k is<br />

a one (unconditional skip), skip the next instruction.<br />

Otherwise, take the next instruction.<br />

Examples of skip with:<br />

k = 01 (bit 0) skip if skip key 0 is set<br />

k = 02 (bit 1) skip if skip key 1 is set<br />

k = 04 (bit 2) skip if skip key 2 is set<br />

k = 10 (bit 3) skip if skip key 3 is set<br />

k = 20 (bit 5) skip if skip key 4 is set<br />

k = 40 (bit 5) skip unconditionally<br />

k = 03 (bits 1, 0) skip if either key 1 or 0 is<br />

1-8-37<br />

set

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

Saved successfully!

Ooh no, something went wrong!