Basic Instructions
2 − 114
Example of enabling the execution of interrupt programs
Example:
ICTL, H0, H101DF
S1
S2
[S1]: H0000
This specifies whether execution of the interrupt program
corresponding to the interrupt from the interrupt unit (INT0 to
INT15) is enabled or disabled.
[S2]: H0101
Enable INT0 and INT8 (set bits 0 and 8 to “1”) and disable all
others.
S2
Bit position
87 43 012 11
15
.. ..
.. ..
0001000000010000
INT number
54
3210
X0 (INT0)
X1 (INT1)
X2 (INT2)
X3 (INT3)
X4 (INT4)
X5 (INT5)
Interrupt unit
7698
11 10
13 1215 14
X6 (INT6)
X7 (INT7)
X8 (INT8)
X9 (INT9)
XA (INT10)
XB (INT11)
XC (INT12)
XD (INT13)
XE (INT14)
XF (INT15)
Set the bits to “1” that correspond to the interrupts to be
enabled.
The I/O number is an example showing the interrupt unit
mounted in Slot 0.
To enable all interrupts INT0 to INT15, set S2 = HFFFF.
FP2/FP2SH/FP10SH