old-cross-binutils/gas/testsuite/gasp/sdata.is
Steve Chamberlain a5f4bc3075 More testcases.
1994-04-27 18:03:31 +00:00

60 lines
1.1 KiB
Text

******** 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,72,69,82,69
! .SDATA "SHOULD FAIL" foo "HERE"
.byte 83,72,79,85,76,68,32,70,65,73,76,102,111,111,72,69,82,69
!
! .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
!END missing from end of file.