summaryrefslogtreecommitdiff
path: root/boot/test.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-05-12 00:06:02 +0200
committerEugen Wissner <belka@caraus.de>2025-05-12 00:06:02 +0200
commitd85183c7a6842a4db83635c64cf85ddf37491971 (patch)
treee792f636b8545c215a1cdc29490dc8d74de5edba /boot/test.elna
parent707f983fe96e4ad9bf89b07a0b4e88465c7d111f (diff)
downloadelna-d85183c7a6842a4db83635c64cf85ddf37491971.tar.gz
Support named identifiers on the right side
Diffstat (limited to 'boot/test.elna')
-rw-r--r--boot/test.elna11
1 files changed, 4 insertions, 7 deletions
diff --git a/boot/test.elna b/boot/test.elna
index f4ce4c5..3b7a962 100644
--- a/boot/test.elna
+++ b/boot/test.elna
@@ -1,14 +1,11 @@
program
-proc _main(x: Word)
-var loca0: Word
-loca4: Word
+proc _main(x: Word, y: Word)
begin
- loca0 := 0x0a2c3061;
- loca4 := x;
- _write_out(@loca4, 4)
+ _write_s(@x, 4);
+ _write_s(@y, 4)
end
begin
- _main()
+ _main(0x0a2c3061, 0x0a2c3062)
end.