repo.or.cz
/
nasm
/
avx512.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
NASM 0.98.16
[nasm/avx512.git]
/
test
/
multisection.asm
blob
ae84345a86b6e94b69454d3606fe2ad75ebdf2bd
1
2
section
.stringdata
3
mystr1:
db
"Hello, this is string 1"
,
13
,
10
,
'$'
4
5
section
.extra_code
6
org
0x200
7
bits
16
8
more:
9
mov
si
,
asciz1
10
mov
ah
,
0x0E
11
xor
bx
,
bx
12
.
print:
13
lodsb
14
test
al
,
al
15
jz
.
end
16
int
0x10
17
jmp short
.print
18
.
end:
19
20
xor
ax
,
ax
21
int
0x16
22
23
mov
ax
,
0x4c00
24
int
0x21
25
26
section
.appspecific
27
asciz1:
db
"This is string 2"
,
0
28
29
section
.code
30
org
0x100
31
bits
16
32
33
start:
34
mov
dx
,
mystr1
35
mov
ah
,
9
36
int
0x21
37
38
xor
ax
,
ax
39
int
0x16
40
41
jmp
more
42