Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a95886358c24ccd39b9f0823aca9a82a0897bf7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
push "hello"
output
call foobar
push 3
:label
dup
push 4
push 5
add
add
output
dec
dup
branch_not_zero label
call foobar
push "end"
output
halt
:foobar
var a
var b
call barfoo
push "first"
push "second"
pop $a
pop $b
push $a
push $b
output
output
return
:barfoo
push "barfoo"
output
return

Back to the top