5c5b19866604e87e0f3d205539cb72709cfd7fa2 1.56 KB
Newer Older
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
$ORIGIN	.
$TTL	1

; OK
@	TXT	""				; Blank string
@	TXT	a				; One char string
@	TXT	\ 				; One space char
@	TXT	"\ "				; One space char in quotes
@	TXT	\021				; One unprintable char
@	TXT	"\\ \""				\# 1 00				; TYPE + Hexadecimal rdata
@	TYPE16	""				; TYPE
@	TXT	(				; Special multi-line string
"first
second"
third						; Second string
)
@	TXT	"abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMN1234\053"	; Text string of maximal length (255 chars)
@	TXT	"abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLM)Nabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMN1234\0536"	; Minimum overflowed text string which should be divided into two strings.
@	TXT	"abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMN1234\053\054"	; Minimum overflowed text string which should be divided into two strings (decimal version).
@	txt	""				; Type in lower-case

; KO
@	TXT
@	TXT			; Empty rdata
@	TXT	\# 0		; Hex empty rdata
@	TXT	\01		; Missing digit in decimal notation
@	TXT	\256		; 8bit overflow in decimal notation
@	TXT	"""		; '"' char without forward slash