summaryrefslogtreecommitdiff
path: root/tnslc/tnslc.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-03-26 16:14:10 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-03-26 16:14:10 -0400
commit5a6004920a860160cdb4550f104b7bb20a54da7f (patch)
treeef5016475e289b7f79da848877b51107dd62521f /tnslc/tnslc.tnsl
parent217f4b1ab43b9fda34512261659d368e6c682b8d (diff)
Fixed multiple simple parameters
Diffstat (limited to 'tnslc/tnslc.tnsl')
-rw-r--r--tnslc/tnslc.tnsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl
index a91d273..05cbe03 100644
--- a/tnslc/tnslc.tnsl
+++ b/tnslc/tnslc.tnsl
@@ -2609,6 +2609,7 @@
"\tsub rsp, ", int_to_string(ctmp.norm_size()), "\n"
}, "")
;ctmp.set(val, out)
+ ;start = _param_end(tok, start) + 1
;; else
;regs++
;/
@@ -2638,6 +2639,7 @@
}, "")
;ctmp.set(val, out)
;regs++
+ ;start = _param_end(tok, start) + 1
;; else if (regs == 6)
;break
;/
@@ -2664,6 +2666,7 @@
"\tmov ", get_reg(reg, ctmp.norm_size()),", [rsp]\n",
"\tadd rsp, ", int_to_string(ctmp.norm_size()), "\n"
}, "")
+ ;reg++
;; else if (reg == 6)
;break
;/