1module thismodule
2module $thismodule
3global foo:export
4global bar:export proc
5global bar2:export function
6global baz:export data
7global baz2:export object
8extern extvar:import
9extern func:proc
10extern farfunc:far
11library alib.rdl
12common cvar 16:32
13
14foo:
15dd 0
16bar:
17dd 0
18bar2:
19dd 0
20call func
21call farfunc		; generates a near call!
22call far farfunc
23
24mov ax, seg farfunc
25mov ax, farfunc
26mov eax, farfunc
27
28mov eax, cvar
29
30section .data
31baz:
32dd 0
33baz2:
34dd 0
35
36section .bss
37resb 4
38
39;section a null
40
41section b text
42dd 0
43
44section c code
45dd 0
46
47section d data
48dd 0
49
50section e comment,5		; after comma is reserved value
51dd 0
52
53section f lcomment
54dd 0
55
56section g pcomment,8
57dd 0
58
59section h symdebug
60dd 0
61
62section i linedebug
63dd 0
64