navm.bytecodedefs

Undocumented in source.

Members

Enums

Instruction
enum Instruction

stores an instruction

Functions

instructionPopCount
uinteger instructionPopCount(Instruction inst, NaData[] arguments)

Static variables

INSTRUCTION_ARG_COUNT
ubyte[Instruction] INSTRUCTION_ARG_COUNT;

stores number of arguments an instruction needs

INSTRUCTION_PUSH_COUNT
ubyte[Instruction] INSTRUCTION_PUSH_COUNT;

stores how many elements an instruction will push to stack

Structs

NaFunction
struct NaFunction

Stores a byte code function (the instructions plus their arguments)

Meta