aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index cd66ebb..6f468cb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -23,6 +23,17 @@ typedef double f64;
typedef uint8_t byte;
typedef u64 word;
+#define VM_STACK_MAX 1024
+
+typedef struct
+{
+ struct Stack
+ {
+ byte data[VM_STACK_MAX];
+ word pointer;
+ } stack;
+} vm_t;
+
int main(void)
{
puts("Hello, world!");