add decimal printer example program

This commit is contained in:
Crispy 2024-09-30 22:01:05 +02:00
parent 58dbbc6d8f
commit 738b1da85b

View file

@ -0,0 +1,25 @@
(decimal printer)
o
1
2
3
4
5
6
o
(check if 0)
v B-=-#01 <
v * D-(div/10)
v B * <
o
v> * 1 ^
F -R0* B(next digit, %10)
*| # <-A vo(+48 = ascii)
| #84 <
| *-|
F +B * B
#< \F----
*-|
P-
B