From d2cdb211b2d15c3a15b15737645f2a68641f34ee Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 21 Oct 2023 23:31:48 +0100 Subject: Added vm_execute_all which executes an entire program Handles OP_HALT --- src/runtime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/runtime.h') diff --git a/src/runtime.h b/src/runtime.h index e588541..8ff0142 100644 --- a/src/runtime.h +++ b/src/runtime.h @@ -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); -- cgit v1.2.3-13-gbd6f