392
Special Instructions
Section 5-28
Set the corresponding bit in D to 0 or 1 to unmask or mask an I/O interrupt
input. Bits 00 to 03 correspond to 00000 to 00003. Bits 04 to 15 should be set
to 0.
Clear I/O Interrupts
(CC=001)
This function is used to clear I/O interrupt inputs 00000 to 00003. Since inter-
rupt inputs are recorded, masked interrupts will be serviced after the mask is
removed unless they are cleared first.
Set the corresponding bit in D to 1 to clear an I/O interrupt input. Bits 00 to 03
correspond to 00000 to 00003. Bits 04 to 15 should be set to 0.
Read Current Mask Status
(CC=002)
This function is used to write the current mask status for I/O interrupt inputs
00000 to 00003 to word D. The corresponding bit will be ON if the input is
masked. (Bits 00 to 03 correspond to 00000 to 00003.)
Renew Counter SV
(CC=003)
This function is used to renew the counter SV for I/O interrupt inputs 00000 to
00003 to word D. Set the corresponding bit in D to 1 in order to renew the
input’s counter SV. (Bits 00 to 03 correspond to 00000 to 00003.)
Mask/Unmasking All
Interrupts (CC=100/200)
This function is used to mask or unmask all interrupt processing. Masked
inputs are recorded, but ignored. Refer to page 30 for details.
The control data, D, is not used for this function. Set D to #0000.
Flags
ER:
A counter’s SV is incorrect. (CC=003 only)
Indirectly addressed EM/DM word is non-existent.
(Content of
*
EM/
*
DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
CC=100 or 200 while an interrupt program was being executed.
CC=100 when all inputs were already masked.
CC=200 when all inputs were already unmasked.
CC and/or D are not within specified values.
Interrupt input 00000 (0: unmask, 1: mask)
Interrupt input 00001 (0: unmask, 1: mask)
Interrupt input 00002 (0: unmask, 1: mask)
Interrupt input 00003 (0: unmask, 1: mask)
Word D bits: 3 2 1 0
Interrupt input 00000 (0: Do not clear, 1: clear)
Interrupt input 00001 (0: Do not clear, 1: clear)
Interrupt input 00002 (0: Do not clear, 1: clear)
Interrupt input 00003 (0: Do not clear, 1: clear)
Word D bits: 3 2 1 0
Interrupt input 00000 (0: not masked, 1: masked)
Interrupt input 00001 (0: not masked, 1: masked)
Interrupt input 00002 (0: not masked, 1: masked)
Interrupt input 00003 (0: not masked, 1: masked)
Word D bits: 3 2 1 0
Interrupt input 00000 counter SV (0: Change, 1: Don't change)
Interrupt input 00001 counter SV (0: Change, 1: Don't change)
Interrupt input 00002 counter SV (0: Change, 1: Don't change)
Interrupt input 00003 counter SV (0: Change, 1: Don't change)
Word D bits: 3 2 1 0