aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.inc1
-rw-r--r--monad.inc2
2 files changed, 3 insertions, 0 deletions
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