Fix std/less_equals.lb and add std/greater_equals.lb
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
@ 0
|
||||
args 2
|
||||
|
||||
@ 1
|
||||
#expr -
|
||||
swap
|
||||
#expr -
|
||||
swap
|
||||
|
||||
kjz 2
|
||||
swap
|
||||
kjz 3
|
||||
swap
|
||||
jmp 1
|
||||
|
||||
@ 2
|
||||
push 1
|
||||
quit
|
||||
|
||||
@ 3
|
||||
push 0
|
||||
quit
|
||||
+2
-2
@@ -14,9 +14,9 @@
|
||||
jmp 1
|
||||
|
||||
@ 2
|
||||
push 1
|
||||
push 0
|
||||
quit
|
||||
|
||||
@ 3
|
||||
push 0
|
||||
push 1
|
||||
quit
|
||||
|
||||
Reference in New Issue
Block a user