Basic Instructions
2 − 106
Example of enabling the execution of interrupt programs
Example:
ICTL, H0, H21DF
S1
S2
S1: H0000
Specifies enabling or disabling of interrupt programs that
correspond to interrupts at specified input contact or to target
value match interrupts.
S2: H0021
Enable INT0 and INT5 (set bits 0 and 5 to “1”) and disable all
others.
S2
Bit position
87 43 012 1115
. . .. .. ..
0001001000000000
1312 3210
X0 (INT0)
X1 (INT1)
X2 (INT2)
X3 (INT3)
X4 (INT4)
X5 (INT5)
Input contact
INT No. 111098 7654
X6 (INT6)
X7 (INT7)
X8 (INT8)
X9 (INT9)
X10 (INT10)
X11 (INT11)
X12 (INT12)
X13 (INT13)
Set the bits to “1” that correspond to the interrupts to be
enabled.
When this ICTL instruction is executed, interrupt programs No.
0 and No. 5 will be executed when their corresponding
interrupt inputs occur.
FP0/FP0R/FP−e/FPΣ/FP−X