# STOP Instruction

This instruction enables interrupts and waits for an interrupt. This instruction requires that the processor works in supervisor mode. An immediate 16 bit data value is stored in the status register. Bit 13 in that data must be set (that will be the S bit after the instruction). Otherwise, an interrupt will occur since you're in user mode (you must be in supervisor mode before and after this instruction).
ADDRESS METHODS: N/A
DATA LENGTH: N/A
FLAGS: The flags will be bit 0-5 in the immediate data
SYNTAX: STOP #<data>