aboutsummaryrefslogtreecommitdiffstats
path: root/test/selfref.asm
blob: 90ecef064add4da9e7b9f2c98b0b97836c038e43 (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
	bits 32

%idefine zoom $%?
	mov ebx,Zoom
%idefine boom $%?
	mov ecx,Boom

%imacro Foo1 0
	%idefine Bar1 _%?
	%idefine baz1 $%?
	mov BAR1,baz1
%endmacro

	foo1
	mov eax,bar1

%imacro Foo2 0
	%idefine Bar2 _%*?
	%idefine baz2 $%*?
	mov BAR2,baz2
%endmacro

	foo2
	mov eax,bar2