aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gasp/pl6.asm
blob: 162d617588c5421e4e0bc58b4fed06ae134bb141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
	.ALTERNATE
! test of expression operator
define 	MACRO 	val, string
	SDATA 	val
	SDATA	string
	ENDM
	define "1","99%of100"	! notice % within string
	define 	%1 + 2, "=3"


	define 	% 1 + 2 %3+4

	define	%3*4-2  <=10>

	define	%3*4-2  5

	define	%1 + 2,<is equal to %1 + 2, right?>

	! has no effect

	end