454GMMPOA3UUX43VO27KTYXHB66LCSKX6X6O4N65IDK53N46FKZAC
Q72QDMNZQQTDFGS4LIK6PJNAL4ZW2WR3LQP7H5JPPDDAC2OYOMUAC
UEEGB37HSGJL4VCRJYIAJRVAEPREYZTDPIDG7BJIJ4DUUSRX7LOQC
/// Pushes the local item referenced by the symbol (A). LoadLocal, /// Pops the desired value to store at the local reference by symbol (A) StoreLocal,
/// Pushes the local item referenced by the symbol (A).
LoadLocal,
/// Pops the desired value to store at the local reference by symbol (A)
StoreLocal,
/* A continuation from this vm's perspective might be: - module code to reference - index of the next instruction to execute - symbol table (for use with debugging, all functions have a symbol table) - local table
/*
A continuation from this vm's perspective might be:
- module code to reference
- index of the next instruction to execute
- symbol table (for use with debugging, all functions have a symbol table)
- local table
REMEMBER a continution would *not* contain the stack of the VM, as that represents the *data* of the execution (maybe? I'd have to implement to be sure)*/
REMEMBER a continution would *not* contain the stack of the VM, as
that represents the *data* of the execution (maybe? I'd have to implement to be sure)
*/
op_code: OpCode, arguments: OpArguments,
op_code: OpCode,
arguments: OpArguments,
pub op_code: OpCode, pub arguments: OpArguments,
pub op_code: OpCode,
pub arguments: OpArguments,
OpCode::LoadLocal => Self { op_code, arguments: OpArguments::parse_a(n), }, OpCode::StoreLocal => Self { op_code, arguments: OpArguments::parse_a(n), },
OpCode::LoadLocal => Self {
op_code,
arguments: OpArguments::parse_a(n),
},
OpCode::StoreLocal => Self {