From 44ccc98fab680184502eebaf88b10e22e42cf203 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sat, 6 Dec 2025 15:46:52 +0700 Subject: [PATCH] Fix alignment issues when using modified VM_NUM_SLOTS --- src/lib/vm.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/vm.s b/src/lib/vm.s index f5593e865..6e6f347ef 100644 --- a/src/lib/vm.s +++ b/src/lib/vm.s @@ -66,6 +66,7 @@ glabel g_VmScratch # Bits are 1 if the slot is vacant. glabel g_VmVacantBits .space VM_VACANTBITS_LEN +.align 1 # The number of pages that can be loaded at any one time (268). # Written but never read. @@ -74,6 +75,7 @@ glabel g_VmNumSlots2 .space 2 # Pointer to the first byte in the g_VmVacantBits array. Never changed once set. +.align 2 glabel g_VmVacantFirstByte .space 4