blob: 8bf5ea0fc81dd909b252ba23e1c7c4ec4376dad3 (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
module thismodule
module $thismodule
global foo:export
global bar:export proc
global bar2:export function
global baz:export data
global baz2:export object
extern extvar:import
extern func:proc
extern farfunc:far
library alib.rdl
common cvar 16:32
foo:
dd 0
bar:
dd 0
bar2:
dd 0
call func
call farfunc ; generates a near call!
call far farfunc
mov ax, seg farfunc
mov ax, farfunc
mov eax, farfunc
mov eax, cvar
section .data
baz:
dd 0
baz2:
dd 0
section .bss
resb 4
;section a null
section b text
dd 0
section c code
dd 0
section d data
dd 0
section e comment,5 ; after comma is reserved value
dd 0
section f lcomment
dd 0
section g pcomment,8
dd 0
section h symdebug
dd 0
section i linedebug
dd 0
|