aboutsummaryrefslogtreecommitdiff
path: root/lstring.inc
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2024-07-14 09:16:39 -0700
committerChristian Cunningham <cc@localhost>2024-07-14 09:16:39 -0700
commit8caa5e7cafb686ac215eb4d1eb56f8a953ea11f4 (patch)
tree9ba811f89f0940988b7bb5e577a0a6463a45cee2 /lstring.inc
parent28fbc837eaff40b0f992233e583f8352f13dddfe (diff)
Whitespace Formatting
Diffstat (limited to 'lstring.inc')
-rw-r--r--lstring.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/lstring.inc b/lstring.inc
index b7eed88..7b71140 100644
--- a/lstring.inc
+++ b/lstring.inc
@@ -4,15 +4,16 @@
%include "sys.inc"
%endif
-%macro make_lstring 2-*
-%1_len_b: dq %1_len
-%1: db %2
+%macro make_lstring 2-*
+ section .data
+%1_len: dq %1_leng
+%1: db %2
%rep %0-2
db %3
%rotate 1
%endrep
%rotate 2
-%1_len equ $-%1
+%1_leng equ $-%1
%endm
section .text