File: vmtest2.pda

package info (click to toggle)
eclipse-platform 4.29-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 70,168 kB
  • sloc: java: 524,463; xml: 64,602; javascript: 4,902; jsp: 4,210; ansic: 870; makefile: 38
file content (48 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (8)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
push 6
push 7
push 8
push 9
push 10
call sub1
output
call sub3
call sub5
push 3
halt
:sub2
push 27
return
:sub1
var m
var n
call sub2
pop $n
pop $m
push $n
push $m
return
# zero-based line 23
:sub3
push 1
call sub4
push 2
call sub4
push 3
return
:sub4
push 4
return
# zero-based line 34
:sub5
var a
var b
var c
pop $c
pop $b
call sub6
push $a
return
:sub6
var b
pop $b
return