27.07.2013 Views

U UNIVAC 1218 - Bitsavers

U UNIVAC 1218 - Bitsavers

U UNIVAC 1218 - Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7. PARITY SKIP INSTRUCTIONS<br />

The following two instructions permit programmed conditional skips based on<br />

the parity of the bit-by-bit product of the contents of AL and AU. Parity is<br />

odd if the number of ones in the resulting product is odd; parity is even if the<br />

number of ones in the resulting product is even.<br />

50 54<br />

50 55<br />

SKIP ON ODD PARITY (SKPODD)<br />

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

If the sum of the bits resulting from the bit-by-bit<br />

product of (AL) and (AU) is odd. skip the next instruction;<br />

otherwise, take the next instruction. Ignore k.<br />

(AU)f = (AU)i; (AL)f = (AL)i<br />

Example of skip on odd parity:<br />

.(AU) 000077 mask<br />

(AL) 127723<br />

bit-by-bit product = 000023<br />

bit sum = 3<br />

Since the bit sum is odd. the next instruction is skipped.<br />

SKIP ON EVEN PARITY (SKPEVN)<br />

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

If the sum of the bits resulting from the bit-by-bit<br />

product of (AL) and (AU) is even, skip the next<br />

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

Ignore k.<br />

1-8-26

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

Saved successfully!

Ooh no, something went wrong!