dcpu.microcode

DCPU-16 cpu constants and some generic functions

Members

Enums

ExtOpCode
enum ExtOpCode

Valid ExtendedOpCode

OpCode
enum OpCode

Valid basic OpCodes

Operand
enum Operand

Operand type/value

Functions

decode
ubyte decode(ushort word)

* Extract a particular information from a instruction * Params: * what = Type of data to decode from a instruction ("OpCode", "ExtOpCode","OpA" or "OpB") * word = Data to decode. A word and his two next words * Returns: Extracted data from a instruction

See Also

Meta