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.

INTERRUPTION MASK REGISTER INSTRUCTIONSAND to Mask (PNM)0 5 8 15Op code R Modifier1 0 1 1 0 X X X 0 0 0 0 1 0 0 0 0!III i 1 i 1 l 1 I IB 0-7 0 0The 4-bit interruption mask register is ANDed, bit by bit, with bits 0 to 3 of <strong>the</strong> indexregister (R), or <strong>the</strong> accumulator if R=000. This result replaces <strong>the</strong> contents of <strong>the</strong> interruptionmask register, where a bit value of 1 means that an interruption is permitted on aparticular priority level. The contents of <strong>the</strong> R register are not changed; nei<strong>the</strong>r are <strong>the</strong>carry, overflow, and result indicators.Executing <strong>the</strong> AND-to-mask instruction turns off <strong>the</strong> summary mask function. To do sowithout changing <strong>the</strong> IMR, <strong>the</strong> R register must have bits 0-3 set to 1111.Interruption requests are not recognized by <strong>the</strong> processor during execution of <strong>the</strong> PNMinstruction. After execution of <strong>the</strong> PNM instruction, interruption control is returned to<strong>the</strong> mask register, and samples for power/<strong>the</strong>rmal warning class interruptions and priorityinterruptions are resumed.ANDing occurs only between corresponding bits in <strong>the</strong> interruption mask registerand <strong>the</strong> R register: bit 0 is ANDed only with bit 0, bit 1 only with bit 1, and soon. The four possible ANDing combinations are:Bit Value fromR RegisterBit Value fromInterruption Mask Register0 0 00 1 01 0 01 1 1Result in InterruptionMask RegisterThus, a bit value of 1 will result in <strong>the</strong> mask register only if a corresponding bitposition is set to a value of 1 in both <strong>the</strong> mask register and <strong>the</strong> R register.Example:Register bits 0 to 3 1101Interruption mask register 0111 (interruptions permitted on levels 1, 2, and 3)Result in interruption mask register 0101 (interruptions permitted on levels 1 and 3)OR to Mask (POM)0 5 8 15Op codeRModifier1 0 1 1 0 X X X 0 0 0 0 1 0 0 0 1I ill11 11111B 0-7 0 1The 4-bit interruption mask register is ORed, bit by bit, with bits 0 to 3 of <strong>the</strong> indexregister (R), or <strong>the</strong> accumulator if R=000. This result replaces <strong>the</strong> contents of <strong>the</strong>interruption mask register, where a bit value of 1 means that an interruption is permittedon a particular priority level. The contents of <strong>the</strong> R register are not changed; nei<strong>the</strong>r are<strong>the</strong> carry, overflow, and result indicators.Processor Instructions 4-49

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

Saved successfully!

Ooh no, something went wrong!