Test cases for .assert warnings
This commit is contained in:
81
test/asm/listing/030-assert-success.s
Normal file
81
test/asm/listing/030-assert-success.s
Normal file
@@ -0,0 +1,81 @@
|
||||
; 2022-06-15 Spiro Trikaliotis
|
||||
|
||||
.ASSERT * = $0000, warning, "Code not at $0000"
|
||||
.assert * = $0000, warning, "Code not at $0000"
|
||||
|
||||
.ASSERT * = $0001, warning, "Code not at $0001"
|
||||
.assert * = $0001, warning, "Code not at $0001"
|
||||
|
||||
.ASSERT * = $1000, warning, "Code not at $1000"
|
||||
.assert * = $1000, warning, "Code not at $1000"
|
||||
|
||||
.ASSERT * = $1001, warning, "Code not at $1001"
|
||||
.assert * = $1001, warning, "Code not at $1001"
|
||||
|
||||
.ASSERT * = $8000, warning, "Code not at $8000"
|
||||
.assert * = $8000, warning, "Code not at $8000"
|
||||
|
||||
.ASSERT * = $8001, warning, "Code not at $8001"
|
||||
.assert * = $8001, warning, "Code not at $8001"
|
||||
|
||||
nop
|
||||
|
||||
.ASSERT * = $0000, warning, "Code not at $0000"
|
||||
.assert * = $0000, warning, "Code not at $0000"
|
||||
|
||||
.ASSERT * = $0001, warning, "Code not at $0001"
|
||||
.assert * = $0001, warning, "Code not at $0001"
|
||||
|
||||
.ASSERT * = $1000, warning, "Code not at $1000"
|
||||
.assert * = $1000, warning, "Code not at $1000"
|
||||
|
||||
.ASSERT * = $1001, warning, "Code not at $1001"
|
||||
.assert * = $1001, warning, "Code not at $1001"
|
||||
|
||||
.ASSERT * = $8000, warning, "Code not at $8000"
|
||||
.assert * = $8000, warning, "Code not at $8000"
|
||||
|
||||
.ASSERT * = $8001, warning, "Code not at $8001"
|
||||
.assert * = $8001, warning, "Code not at $8001"
|
||||
|
||||
|
||||
|
||||
.org $8000
|
||||
|
||||
.ASSERT * = $0000, warning, "Code not at $0000"
|
||||
.assert * = $0000, warning, "Code not at $0000"
|
||||
|
||||
.ASSERT * = $0001, warning, "Code not at $0001"
|
||||
.assert * = $0001, warning, "Code not at $0001"
|
||||
|
||||
.ASSERT * = $1000, warning, "Code not at $1000"
|
||||
.assert * = $1000, warning, "Code not at $1000"
|
||||
|
||||
.ASSERT * = $1001, warning, "Code not at $1001"
|
||||
.assert * = $1001, warning, "Code not at $1001"
|
||||
|
||||
.ASSERT * = $8000, warning, "Code not at $8000"
|
||||
.assert * = $8000, warning, "Code not at $8000"
|
||||
|
||||
.ASSERT * = $8001, warning, "Code not at $8001"
|
||||
.assert * = $8001, warning, "Code not at $8001"
|
||||
|
||||
nop
|
||||
|
||||
.ASSERT * = $0000, warning, "Code not at $0000"
|
||||
.assert * = $0000, warning, "Code not at $0000"
|
||||
|
||||
.ASSERT * = $0001, warning, "Code not at $0001"
|
||||
.assert * = $0001, warning, "Code not at $0001"
|
||||
|
||||
.ASSERT * = $1000, warning, "Code not at $1000"
|
||||
.assert * = $1000, warning, "Code not at $1000"
|
||||
|
||||
.ASSERT * = $1001, warning, "Code not at $1001"
|
||||
.assert * = $1001, warning, "Code not at $1001"
|
||||
|
||||
.ASSERT * = $8000, warning, "Code not at $8000"
|
||||
.assert * = $8000, warning, "Code not at $8000"
|
||||
|
||||
.ASSERT * = $8001, warning, "Code not at $8001"
|
||||
.assert * = $8001, warning, "Code not at $8001"
|
||||
Reference in New Issue
Block a user