diff options
Diffstat (limited to 'gas/testsuite/gasp/sdata.is')
-rw-r--r-- | gas/testsuite/gasp/sdata.is | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/gas/testsuite/gasp/sdata.is b/gas/testsuite/gasp/sdata.is new file mode 100644 index 0000000..57eef2f --- /dev/null +++ b/gas/testsuite/gasp/sdata.is @@ -0,0 +1,62 @@ +******** sdata.amp +! + +! + +! .SDATA "HI","STEVE" + .byte 72,73,83,84,69,86,69 +! .SDATA "HI" , "STEVE" , <72>,<73>,<83><69><86><69> + .byte 72,73,83,84,69,86,69,72,73,83,69,86,69 +! + +! .SDATA "H""I" , "STEVE" , <72>,<73>,<83><69><86><69> + .byte 72,34,73,83,84,69,86,69,72,73,83,69,86,69 +! + +! + +! + +! .SDATA "SHOULD NOT FAIL" "HERE" + .byte 83,72,79,85,76,68,32,78,79,84,32,70,65,73,76,83,72,79,85,76,68,32,78,79,84,32,70,65,73,76,72,69,82,69 +! .SDATA "SHOULD FAIL" foo "HERE" + .byte 83,72,79,85,76,68,32,70,65,73,76 + +! + +! .SDATAB 8,"BOINK" + .byte 66,79,73,78,75 + .byte 66,79,73,78,75 + .byte 66,79,73,78,75 + .byte 66,79,73,78,75 + .byte 66,79,73,78,75 + .byte 66,79,73,78,75 + .byte 66,79,73,78,75 + .byte 66,79,73,78,75 +! + +! ; examples from book + ; examples from book +! + +! .SDATAB 2,"AAAAA" + .byte 65,65,65,65,65 + .byte 65,65,65,65,65 +! .SDATAB 2,"""BBB""" + .byte 34,66,66,66,34 + .byte 34,66,66,66,34 +! .SDATAB 2,"AABB"<H'07> + .byte 65,65,66,66,7 + .byte 65,65,66,66,7 +! + +! + +!a1: .SDATAZ "HI" +a1: .byte 72,73,0 +!a2: .SDATAC "HI" +a2: .byte 2,72,73 +!a3: .SDATA "HI" +a3: .byte 72,73 +!sdata.amp:11 illegal character in SDATA line (0x66). +.END missing from end of file. |