about summary refs log tree commit diff stats
path: root/072slice.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-11-28 23:20:39 -0800
committerKartik Agaram <vc@akkartik.com>2019-11-28 23:20:39 -0800
commit31ed455886aefa1403d3fca2e2041a1786e75f2c (patch)
treef856066b22e5d5873fd608d70ddde3338ef56b76 /072slice.subx
parent0c24aa334e419789a40f44f61d889928f0154030 (diff)
downloadmu-31ed455886aefa1403d3fca2e2041a1786e75f2c.tar.gz
5773
Rudimentary support for parsing variable declarations.
Diffstat (limited to '072slice.subx')
-rw-r--r--072slice.subx1
1 files changed, 1 insertions, 0 deletions
diff --git a/072slice.subx b/072slice.subx
index 1d0fe855..89948be9 100644
--- a/072slice.subx
+++ b/072slice.subx
@@ -1045,6 +1045,7 @@ slice-to-string:  # ad : (address allocation-descriptor), in : (address slice) -
     81          5/subop/subtract    0/mod/indirect  0/rm32/eax    .           .             .           .           .               4/imm32           # subtract 4 from *eax
     # save out
     50/push-eax
+$slice-to-string:initialize:
     # eax = _append-4(eax+4, eax+size, curr, max)  # clobbering ecx
     # . . push args
     53/push-ebx