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.

If R=000, specifying <strong>the</strong> accumulator, this instruction is, in effect, a no-operationbecause <strong>the</strong> final contents of <strong>the</strong> accumulator are unchanged from <strong>the</strong> original contents.Any data ORed with itself has a final result equal to <strong>the</strong> original data.The carry and overflow indicators are not changed. The result indicators are changedto reflect <strong>the</strong> final contents of <strong>the</strong> accumulator.ORing occurs only between corresponding bits in <strong>the</strong> accumulator and <strong>the</strong> R register:bit 0 is ORed only with bit 0, bit 1 only with bit 1, and so on. The four possibleORing combinations are:Bit Value fromIndex RegisterBit Value fromAccumulator0 0 00 1 11 0 11 1 1Result inAccumulatorThus, a bit value of 1 will result in <strong>the</strong> accumulator if a corresponding bit positionis set to a value of 1 in ei<strong>the</strong>r <strong>the</strong> accumulator or <strong>the</strong> register (R). If <strong>the</strong> bit positionsin both <strong>the</strong> accumulator and <strong>the</strong> R register ale set to a value of 1, <strong>the</strong> ORcondition is still satisfied, so <strong>the</strong> corresponding result bit is set to a 1 in <strong>the</strong>accumulator.Example:Word in accumulator 0011 0101 1111 1010Word in index register 0101 0001 1010 0000Result in accumulator 0111 0101 1111 1010Exclusive OR Register (PXR)0 5 8 15Op code R Modifier1 1 1 1 1 X X X 0 0 0 0 1 0 1 0 1I I I I I I 1 1 1 1 1F 8-F 0 5The contents of <strong>the</strong> accumulator are exclusive ORed, bit by bit, with <strong>the</strong> contents of <strong>the</strong>register (R). The result replaces <strong>the</strong> contents of <strong>the</strong> accumulator. When R specifies anindex register, <strong>the</strong> contents of <strong>the</strong> addressed index register are not changed.An R field of 000, which specifies <strong>the</strong> accumulator, is a simple method of clearing <strong>the</strong>accumulator. Any data that is exclusive ORed with itself results in setting all <strong>the</strong> bitsto O's.The carry and overflow indicators are not changed. The result indicators are changedto reflect <strong>the</strong> final contents of <strong>the</strong> accumulator.Processor Instructions 4-23

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

Saved successfully!

Ooh no, something went wrong!