repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
preproc: Fix the token in expanding the %+/%- macro-parameters
[nasm.git]
/
test
/
br3092924.asm
blob
3f9cde04b8fd8a5c640a8a26019602031f70bb27
1
%
define RNUM
0x10000
; max of relocations in a section is 0xffff
2
3
section
.data1
4
r1
dd
RNUM
5
6
section
.data2
7
r2
dd
RNUM
8
9
%
macro
x1
1
10
mov
eax
, [
r1
+ %
1
]
11
%
endmacro
12
13
%
macro
x2
1
14
mov
eax
, [
r2
+ %
1
]
15
%
endmacro
16
17
section
.text1
18
19
%
assign i
0
20
%
rep
RNUM
21
x1 i
22
x2 i
23
%
assign i i
+
1
24
%
endrep
25