From d76b15023b1462659f8db91f3f4b44f8c8da1e65 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sat, 17 Feb 2024 16:36:59 +0100 Subject: [PATCH] :art: move VM defines --- include/vm.h | 5 +++++ util | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/vm.h b/include/vm.h index d8632a67..f74e8bab 100644 --- a/include/vm.h +++ b/include/vm.h @@ -146,4 +146,9 @@ ANN bool unwind(const VM_Shred shred, const Symbol effect, const m_uint size); #define BBQ_POS_MAX 16777216 ANN void next_bbq_pos(const VM *vm); + +#define MEM_STEP 16 +#define SIZEOF_MEM (0x1 << MEM_STEP) +#define SIZEOF_REG (0x1 << 14) + #endif diff --git a/util b/util index b40e7240..ee0fbca0 160000 --- a/util +++ b/util @@ -1 +1 @@ -Subproject commit b40e724007166f6b91aed62ac5a0743ada9037fe +Subproject commit ee0fbca067438890e3dfb2e77968d4300a10bb4f -- 2.43.0