CPU

Undocumented in source.

Constructors

this
this(ubyte[] program, size_t stackSize, size_t memorySize)
Undocumented in source.

Members

Functions

PushSyscalls
void PushSyscalls(SysCall[] syscalls)
Undocumented in source. Be warned that the author may not have intended to support it.
progctr
size_t progctr()
Undocumented in source. Be warned that the author may not have intended to support it.
runCycle
void runCycle()
Undocumented in source. Be warned that the author may not have intended to support it.
running
bool running()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

REGISTERS
ulong[256] REGISTERS;
Undocumented in source.
STATUS_REG
ulong* STATUS_REG;
Undocumented in source.
SVEB
bool SVEB;
Undocumented in source.
VEB
bool VEB;
Undocumented in source.
cOps
ulong cOps;
Undocumented in source.
callstack
CPUStack callstack;
Undocumented in source.
callstackSize
ulong callstackSize;
Undocumented in source.
datastack
CPUStack datastack;
Undocumented in source.
memory
ubyte[] memory;
Undocumented in source.
progptr
Instruction* progptr;
Undocumented in source.
progstart
Instruction* progstart;
Undocumented in source.
safeMemOffset
size_t safeMemOffset;
Undocumented in source.
stackStoreSize
ulong stackStoreSize;
Undocumented in source.
syscalls
SysCall[] syscalls;
Undocumented in source.

Meta