2-1
Section
CPM2A/CPM2C Interrupt Functions
34
Masking or Unmasking Interrupt Inputs
This function is used to mask or unmask input numbers 00003 to 00006 (inter-
rupt inputs 0 to 3).
Interrupt control designation (000: Mask/unmask interrupt inputs)
Fixed at 000.
Control data word
Specifies/stores 0.
Specifies input 00006 (interrupt input 3).
Specifies input 00005 (interrupt input 2).
Specifies input 00004 (interrupt input 1).
Specifies input 00003 (interrupt input 0).
0: Clear mask (interrupt input permitted).
1: Set mask (interrupt input prohibited).
(@)INT(89)
000
000
C
2
All interrupt inputs are prohibited at the beginning of operation (in either PRO-
GRAM mode or in RUN/MONITOR mode). To use interrupt inputs, use INT(89)
to permit them.
Clearing Interrupt Inputs
This function is used to clear input numbers 00003 to 00006 (interrupt inputs 0 to
3). Since interrupt inputs are recorded, masked interrupts will be serviced after
the mask is removed unless they are cleared first. Use INT(89) to clear the cause
of the interrupt inputs so that they will not be executed when interrupt inputs are
permitted (i.e., when the mask is removed).
Interrupt control designation (001: Clear interrupt inputs)
Fixed at 000.
Control data word
Specifies/stores 0.
Specifies input 00006 (interrupt input 3).
Specifies input 00005 (interrupt input 2).
Specifies input 00004 (interrupt input 1).
Specifies input 00003 (interrupt input 0).
0: Retain cause of interrupt input.
1: Clear cause of interrupt input.
(@)INT(89)
001
000
C
2
While interrupt inputs are masked, one cause is recorded for each interrupt in-
put.