$INTERRUPTS - Enable / disable / define interrupts

Language reference ›› Directives ››
Parent Previous Next

interrupts-directive = $INTERRUPTS interrupts-item { , interrupts-item } .
interrupts-item = directive-toggle | interrupts-mode  .
interrupts-mode = UNIQUE | MULTIPLE .


Define interrupts configuration.


The <directive-toggle> (ON / OFF) tells the compiler that we need or not interrupts so that interrupt entry points are or are not generated.

This directive cannot be found after an interrupt procedure had been defined, or after the begin of the main program block.

Default is ON.


The <interrupts-mode> option tells the compiler that we need only one interrupt procedure (UNIQUE) or more than one (MULTIPLE), so that interrupt entry points are optimized (see interrupt procedure format).

This directive cannot be found after an interrupt procedure had been defined, or after the beginning of the main program block.

Default is MULTIPLE.


{$INTERRUPTS ON, UNIQUE }