summaryrefslogtreecommitdiff
path: root/boot/test.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-05-13 23:14:20 +0200
committerEugen Wissner <belka@caraus.de>2025-05-13 23:14:20 +0200
commite614d43ea9af078301d538fcddb19e83eed7e879 (patch)
tree0025fd056fe7692d8593881881b0b46e5340793b /boot/test.elna
parent1b31f532dfb9987788565c90db0558db6f8bed30 (diff)
downloadelna-e614d43ea9af078301d538fcddb19e83eed7e879.tar.gz
Support procedure without _ in the first stage
Diffstat (limited to 'boot/test.elna')
-rw-r--r--boot/test.elna11
1 files changed, 7 insertions, 4 deletions
diff --git a/boot/test.elna b/boot/test.elna
index 3b7a962..e56547d 100644
--- a/boot/test.elna
+++ b/boot/test.elna
@@ -1,11 +1,14 @@
program
-proc _main(x: Word, y: Word)
+proc main(x: Word, y: Word)
begin
- _write_s(@x, 4);
- _write_s(@y, 4)
+ _write_s(4, @x);
+ _write_s(4, @y);
+
+ y := 0x0a2c3063;
+ _write_s(4, @y)
end
begin
- _main(0x0a2c3061, 0x0a2c3062)
+ main(0x0a2c3061, 0x0a2c3062)
end.