Added vm_execute_all which executes an entire program
Handles OP_HALT
This commit is contained in:
@@ -44,6 +44,7 @@ typedef struct
|
||||
#define VM_REG_WORD(REG) ((REG))
|
||||
|
||||
void vm_execute(vm_t *);
|
||||
void vm_execute_all(vm_t *);
|
||||
|
||||
void vm_load_stack(vm_t *, byte *, size_t);
|
||||
void vm_load_program(vm_t *, inst_t *, size_t);
|
||||
|
||||
Reference in New Issue
Block a user