From a69a84ee6ef6d4a93167d5d096f28b8b40ed1b86 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sat, 2 Nov 2024 16:33:11 -0700 Subject: Align structures --- file.inc | 1 + monad.inc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/file.inc b/file.inc index 48ce56b..ddf6275 100644 --- a/file.inc +++ b/file.inc @@ -31,6 +31,7 @@ endstruc section .bss %2_fd: resq 1 section .data + align 8 %2_filedata: istruc FileData at fd_fname, dq %2_fname diff --git a/monad.inc b/monad.inc index 97c6cd3..4193dc4 100644 --- a/monad.inc +++ b/monad.inc @@ -13,6 +13,8 @@ endstruc ;; %1 = Name ;; %2 = Address of Structure ;; %3 = Something > 0, Nothing = 0 + section .data + align 8 m_%1: istruc MaybeMonad at mm_v, dq %2 ; The address of the MaybeMonad-wrapped structure -- cgit v1.2.1