Croissant Runtime
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crsn/examples/proc_skip.csn

25 lines
299 B

(
(:label)
(ld r0 1)
; the procedure is surrounded by a jump and a label
(proc foo
(:label)
(nop)
(j :label)
(ret)
)
(proc bar
(:label)
(nop)
(j :label)
(ret)
)
(ld r0 2)
(halt)
(j :label)
)