We're looking for your comments on how to best organize the wiki's content.
IAS
IAS (Interrupt Address Set) is one of the Special opcodes in the DCPU-16 specification. It set the IA register to a new value.
[edit] Usage
IAS arg1
Sets IA to arg1.
This value can be used to configure whether interrupts are enabled (if non-zero) or disabled (if zero). If enabled, an interrupt will either be handled immediately after the current instruction (by setting PC to IA), or queued (depending on whether interrupt queueing has been enabled or disabled - this is a separate setting). If IA is set to zero, all interrupts will be ignored and forgotten.
[edit] Processing
In binary machine code, this Special opcode's five-bit representation is: 0b0 1010 (0x0a)
The instruction has a takes one cycle to execute, plus any additional cycles necessary to evaluate the argument.
[edit] References
- DCPU-16 specification v1.7 (Copyright 2012 Mojang)
| ||||||||

