Create subleq.sq

This commit is contained in:
George Gibson
2015-08-30 08:28:10 +01:00
parent 501e5fce81
commit 90f665a181

8
s/subleq.sq Normal file
View File

@@ -0,0 +1,8 @@
loop: hello (-1)
minusOne loop
minusOne checkEnd+1
checkEnd: Z hello (-1)
Z Z loop
. minusOne: -1
. hello: "hello, world\n" Z: 0