surround routines by far jump across

This commit is contained in:
2020-10-04 21:26:06 +02:00
parent e0cc1973ba
commit b06ef50acd
4 changed files with 18 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
(
(ld r0 1)
; the procedure is surrounded by a jump and a label
(proc foo
(nop)
(ret)
)
(ld r0 2)
)
-1
View File
@@ -11,5 +11,4 @@
(cmp r1 1 (ne? (fault)))
(drop @r0)
(halt)
)