aboutsummaryrefslogtreecommitdiff
path: root/lstring.inc
diff options
context:
space:
mode:
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