From e614d43ea9af078301d538fcddb19e83eed7e879 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 13 May 2025 23:14:20 +0200 Subject: Support procedure without _ in the first stage --- boot/test.elna | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'boot/test.elna') 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. -- cgit v1.2.3