summary refs log tree commit diff
path: root/evoke.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-05-15 20:51:13 -0700
committerIrene Knapp <ireneista@irenes.space>2026-05-15 21:58:20 -0700
commit447921598269bae3e1406470015c37f23943cc74 (patch)
tree464583448ae74f83af637cefded39d8b3d431aff /evoke.e
parent1af849abc637c4890285c4d3cc08d99faae2ea41 (diff)
make the label transformation work all the way, no crashing
the code doesn't quite run yet, that'll be a future CL

Force-Push: yes
Change-Id: I71e6a45127c1fc37906d902e36142c17afef2a21
Diffstat (limited to 'evoke.e')
-rw-r--r--evoke.e6
1 files changed, 6 insertions, 0 deletions
diff --git a/evoke.e b/evoke.e
index c34ab2a..68645cb 100644
--- a/evoke.e
+++ b/evoke.e
@@ -3,6 +3,8 @@
 
 1024 read-to-buffer
 : foo ;asm
+
+: bar ;asm
 pyrzqxgl
 s" source-to-precompile" variable
 
@@ -15,6 +17,7 @@ s" source-to-precompile" variable
 ~ Everything directly called by all-contents has this same interface.
 ~
 : all-contents
+  0x08000000 L!' origin
   elf-file-header
   elf-program-header
   cold-start
@@ -23,6 +26,9 @@ s" source-to-precompile" variable
   source-to-precompile transform
   0 L!' final-word-name
   current-offset L!' total-size
+  0 L!' :
+  0 L!' ;
+  0 L!' ;asm
   ;
 
 ' all-contents entry-to-execution-token label-loop