33 lines
867 B
Text
33 lines
867 B
Text
******** 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
|