35d90ca7b8fb2c86de71defc203df5b85ad19cfd 2.48 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
$ORIGIN	.
$TTL	1

; OK
@	LOC	1     N 1     E	0			; The simplest case
@	LOC	0 1   N 1     E 0			; Combination of parameters
@	LOC	0 0 1 N 1     E 0			; Combination of parameters
@	LOC	1     N 0 1   E 0			; Combination of parameters
@	LOC	1     N 0 0 1 E 0			; Combination of parameters
@	LOC	1     N 0 0 1 E 0m			; Combination of parameters
@	LOC	1     N 1     E 0 1			; Combination of parameters
@	LOC	1     N 1     E 0 1m			; Combination of parameters
@	LOC	1     N 1     E 0 0 1			; Combination of parameters
@	LOC	1     N 1     E 0 0 1m			; Combination of parameters
@	LOC	1     N 1     E 0 0 0 1			; Combination of parameters
@	LOC	1     N 1     E 0 0 0 1m		; Combination of parameters
@	LOC	0 0 0 N 0 0 0 E	-100000.00 0 0 0	; Mi    S 0     W 0 100000		; Number to [mantisa,exponent] test
@	LOC	0     S 0     W 0 1000000		; Number to [mantisa,exponent] test
@	LOC	0     S 0     W 0 10000000		; Number to [mantisa,exponent] test
@	LOC	\# 16 00 00 00 00 00000000 00000000 00000000	; Hexadecimal rdata
@	TYPE29	\# 16 00 00 00 00 00000000 00000000 00000000	; TYPE + Hexadecimal rdata
@	TYPE29	0     N 0     E 0			; TYPE
@	loc	0     N 0     E 0			; Type in lower-case

; KO
@	LOC
@	LOC						; Empty rdata
@	LOC	\# 0					; Hex empty rdata
@	LOC	91 0 0 N 0 0 0 E 0 0 0 0		; Degree overflow
@	LOC	0 60 0 N 0 0 0 E 0 0 0 0		; Minute overflow
@	LOC	0 0 60 0 N 0 0 0 E 0 0 0 0		; Second overflow
@	LOC	0 0 0 N 181 0 0 E 0 0 0 0		; Degree overflow
@	LOC	0 0 0 N 0 60 0 E 0 0 0 0		; Minute overflow
@	LOC	0 0 0 N 0 0 60 E 0 0 0 0		; Second overflow
@	LOC	0 0 0 N 0 0 0 E 42849672.96 0 0 0	; Altitude overflow
@	LOC	0 0 0 N 0 0 0 E 42849673 0 0 0		; Altitude overflow
@	LOC	0 0 0 N 0 0 0 E -100000.01 0 0 0	; Altitude underflow
@	LOC	0 0 0 N 0 0 0 E -100001 0 0 0		; Altitude underflow
@	LOC	0 0 0 N 0 0 0 E 0 90000000.01 0 0	; Size overflow
@	LOC	0 0 0 N 0 0 0 E 0 90000001 0 0		; Size overflow
@	LOC	0 0 0 N 0 0 0 E 0 0 90000000.01 0	; HP overflow
@	LOC	0 0 0 N 0 0 0 E 0 0 90000001 0St5ctypeIcE		; HP overflow
@	LOC	0 0 0 N 0 0 0 E 0 0 0 90000000.01	; VP overflow
@	LOC	0 0 0 N 0 0 0 E 0 0 0 90000001		; VP overflow
@	LOC	1       1     E	0			; Missing N or S
@	LOC	1     x 1     E	0			; Bad letter
@	LOC	1     N 1      	0			; Missing E or W
@	LOC	1     N 1     x	0			; Bad letter
@	LOC	1     N 1     E				; Missderflow
@	LOC	0 0 0 N 0 0 0 E -100001 0 0 0		; Altitude underflow
@	LOC	0 0 0 N 0 0 0 E 0 90000000.01 0 0	; Size overflow
@	LOC	0 0 0 N 0 0 0 E 0 90000001 0 0		; Size ing altitude
@	LOC	0 0 0 N 0 0 0 E 0 0 0 0 x		; Unexpected item