#ifndef UNDAR_VM_H #define UNDAR_VM_H #include "libc.h" typedef enum { NOOP, } Opcode; typedef struct vm_s VM; #define MEM_SIZE 65536 struct vm_s { u32 pc; u8 mem[MEM_SIZE]; }; bool init_vm(VM *vm); bool step_vm(VM *vm); #endif