Added basic putuint to the standard library, i need to implement proper 0 handling but that probably needs and if statement
This commit is contained in:
parent
bf4f1c19af
commit
5b7dd220ae
6 changed files with 94 additions and 2 deletions
19
flagpole/tests/gt.fp
Normal file
19
flagpole/tests/gt.fp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
$inc fvmstd.fp
|
||||
|
||||
proc main
|
||||
5 3 u>
|
||||
48 u+
|
||||
"5 3 u>: " :puts
|
||||
:putchar :newline
|
||||
|
||||
|
||||
3 3 u>
|
||||
48 u+
|
||||
"3 3 u>: " :puts
|
||||
:putchar :newline
|
||||
|
||||
3 5 u>
|
||||
48 u+
|
||||
"3 5 u>: " :puts
|
||||
:putchar :newline
|
||||
endproc
|
||||
Loading…
Add table
Add a link
Reference in a new issue