Extended VM and fp compiler, now an actually good hello world program

This commit is contained in:
cannoli-fruit 2026-07-25 18:36:08 -04:00
commit fda7baea7f
4 changed files with 116 additions and 3 deletions

19
flagpole/tests/hwgood.fp Normal file
View file

@ -0,0 +1,19 @@
proc putchar
0xCFFFFFFFFFFFFFFD st8
endproc
proc puts
while dup ld8 0 == not do
dup ld8 :putchar
1 u+
endwhile
pop
endproc
proc newline
10 :putchar
endproc
proc main
"Hello World!" :puts :newline
endproc