aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gasp/pl5.is
blob: 6d92179e341044294699ee85a6a9c0310b5449ec (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
******** pl5.amp
!! test of literal text operator
	! test of literal text operator
!	.ALTERNATE
!foop	MACRO	str1,str2
!	SDATA	"str1"
!	SDATA	str2
!	ENDM
!

!

!	
!	foop	this< is a <string> with angle brackets>
!	SDATA	"this"
	.byte	34,116,104,105,115,34
!	SDATA	" is a <string> with angle brackets"
	.byte	34,32,105,115,32,97,32,60,115,116,114,105,110,103,62,32,119,105,116,104,32,97,110,103,108,101,32,98,114,97,99,107,101,116,115,34
!	foop 	this< is a string with spaces>
!	SDATA	"this"
	.byte	34,116,104,105,115,34
!	SDATA	" is a string with spaces"
	.byte	34,32,105,115,32,97,32,115,116,114,105,110,103,32,119,105,116,104,32,115,112,97,99,101,115,34
!	foop	this < is a string with a !>>
!	SDATA	"this"
	.byte	34,116,104,105,115,34
!	SDATA	" is a string with a >"
	.byte	34,32,105,115,32,97,32,115,116,114,105,110,103,32,119,105,116,104,32,97,32,62,34
!

!

!	END