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.

Example:Word in accumulator 0110 1100 0000 1111Word from storage 1100 0011 0000 1111Result in accumulator 1010 1111 0000 0000AND Register (PNR)O 5 8 15Op code1 1 1 1 1I 1 1RXXX1 1ModifierO 0 0 010 0 1 11 1 1 1 1 1 1F 8-F 0 3The contents of <strong>the</strong> accumulator are ANDed, 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. The contents of <strong>the</strong> addressedregister are not changed.If R=000, specifying <strong>the</strong> accumulator, <strong>the</strong> 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 ANDed with itself has a fmal 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> fmal contents of <strong>the</strong> accumulator.ANDing occurs only between corresponding bits in <strong>the</strong> accumulator and in <strong>the</strong> indexregister: bit 0 is ANDed only with bit 0, bit 1 only with bit 1, and so on. The fourpossible ANDing combinations are:Bit Value from Bit Value from Result inIndex Register Accumulator Accumulator0 0 00 1 01 0 01Thus, a bit value of 1 will result in <strong>the</strong> accumulator only if a corresponding bit positionis set to a value of 1 in both <strong>the</strong> accumulator and <strong>the</strong> index register.Example:Word in accumulatorWord in index registerResult in accumulator0101 0000 1111 10101010 1111 1010 11110000 0000 1010 1010OR Register (POR)O 5 815Op code1 1 1 1 1lit!XRX X1ModifierO 0 0 0 1 0 1 0 01F 8-F 0 4The contents of <strong>the</strong> accumulator are 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. The contents of <strong>the</strong> addressedregister are not changed.11,1111./110! 0u0, 111111101101101111. 0 0110110

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

Saved successfully!

Ooh no, something went wrong!