Table of Contents

ugBASIC User Manual

ENABLE INTERRUPT

SYNTAX

   ENABLE INTERRUPT

PURPOSE

An interrupt is a signal that temporarily stops the normal execution of a program, allowing the processor to handle external events or internal exceptions. These events can be a key being pressed on the keyboard, data arriving from a serial port or a timer reaching zero.

Interrupts allow the processor to respond quickly and efficiently to external events, avoiding delays in processing, so that you can handle events that occur independently of the main program execution and so the computer can communicate with external devices such as keyboard.

This instruction will change the specific register of the main processor, so that interrupts will be served again.

EXAMPLE

  ENABLE INTERRUPT

ABBREVIATION

 EnIntr

AVAILABLE ON

SEE ALSO

DISABLE INTERRUPT

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY