You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OP_CALL addr args_count localsCount - functions call, puts the return address to callStack; copies arguments from operation stack to locals of stack frame
OP_RET - destroys current call stack frame and returns to the previous one
Operations on variables
LOAD var_idx - move call stack frame locals[var_idx] to opStack[top]
STORE var_idx - move opStack[top] to call stack frame locals[var_idx]
Classes and objects
NEW class_id - create instance of class_id
GET_FIELD obj, field_id - get locals of object's variable
SET_FIELD obj, field_id, val - set locals to object's variable