Browse code

Updated asma script to match source code changes

Andrew Alderwick authored on 07/07/2021 19:23:06
Showing 2 changed files
... ...
@@ -24,7 +24,7 @@ local opcodes_in_order = { }
24 24
 do
25 25
   local wanted = false
26 26
   for l in assert(io.lines('src/uxnasm.c')) do
27
-    if l == 'char ops[][4] = {' then
27
+    if l == 'static char ops[][4] = {' then
28 28
       wanted = true
29 29
     elseif wanted then
30 30
       if l == '};' then
... ...
@@ -202,7 +202,7 @@ do
202 202
 
203 203
 @asma-heap
204 204
 
205
-|ff00 &end
205
+|e000 &end
206 206
 
207 207
 (
208 208
 	Buffer for use with loading source code.
... ...
@@ -214,7 +214,7 @@ do
214 214
 
215 215
 @asma-read-buffer
216 216
 
217
-|ff80 &end
217
+|f800 &end
218 218
 
219 219
 (
220 220
 	Buffer for use with writing output.
... ...
@@ -35,7 +35,7 @@ opcodes_in_order = {}
35 35
 do -- opcodes
36 36
 	wanted = false
37 37
 	for l in assert io.lines 'src/uxnasm.c'
38
-		if l == 'char ops[][4] = {'
38
+		if l == 'static char ops[][4] = {'
39 39
 			wanted = true
40 40
 		elseif wanted
41 41
 			if l == '};'
... ...
@@ -168,7 +168,7 @@ with assert io.open 'projects/software/asma.tal.tmp', 'w'
168 168
 
169 169
 @asma-heap
170 170
 
171
-|ff00 &end
171
+|e000 &end
172 172
 
173 173
 (
174 174
 	Buffer for use with loading source code.
... ...
@@ -180,7 +180,7 @@ with assert io.open 'projects/software/asma.tal.tmp', 'w'
180 180
 
181 181
 @asma-read-buffer
182 182
 
183
-|ff80 &end
183
+|f800 &end
184 184
 
185 185
 (
186 186
 	Buffer for use with writing output.