1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/plugins/org.eclipse.dd.examples.pda/samples/example.pda

35 lines
290 B
Text

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