Performs basic instruction.
Handles interrupt from interrupt queue if reg_ia != 0 && intQueue.length > 0 Handles interrupts only when interrupt queuing is disabled. It may be enabled by interrupt handler or manually in time critical code.
Pops value from stack increasing reg_sp.
Pushes value onto stack decreasing reg_sp.
Sets A, B, C, X, Y registers to information about hardware deviceIndex
Sends an interrupt to hardware deviceIndex
Skips instructions if conditional opcode was failed. + The conditional opcodes take one cycle longer to perform if the test fails. + When they skip a conditional instruction, they will skip an additional + instruction at the cost of one extra cycle. This continues until a non- + conditional instruction has been skipped. This lets you easily chain + conditionals. Interrupts are not triggered while the DCPU-16 is skipping.
Performs special instruction.
Adds interrupt with message 'message' to dcpu.intQueue or starts burning DCPU if queue grows bigger than 256