More assert tests
Also test ldwarning and lderror options.
This commit is contained in:
28
test/asm/listing/034-assert-lderror1.s
Normal file
28
test/asm/listing/034-assert-lderror1.s
Normal file
@@ -0,0 +1,28 @@
|
||||
; 2022-06-15 Spiro Trikaliotis
|
||||
|
||||
.ASSERT * = $0000, error, "Code not at $0000"
|
||||
.assert * = $0000, error, "Code not at $0000"
|
||||
|
||||
.ASSERT * = $0001, error, "Code not at $0001"
|
||||
.assert * = $0001, error, "Code not at $0001"
|
||||
|
||||
.ASSERT * = $1000, error, "Code not at $1000"
|
||||
.assert * = $1000, error, "Code not at $1000"
|
||||
|
||||
.ASSERT * = $1001, error, "Code not at $1001"
|
||||
.assert * = $1001, error, "Code not at $1001"
|
||||
|
||||
.ASSERT * = $8000, error, "Code not at $8000"
|
||||
.assert * = $8000, error, "Code not at $8000"
|
||||
|
||||
.ASSERT * = $8001, error, "Code not at $8001"
|
||||
.assert * = $8001, error, "Code not at $8001"
|
||||
|
||||
|
||||
.org $8000
|
||||
|
||||
.ASSERT * = $8000, error, "Code not at $8000"
|
||||
.assert * = $8000, error, "Code not at $8000"
|
||||
|
||||
.ASSERT * = $8001, error, "Code not at $8001"
|
||||
.assert * = $8001, error, "Code not at $8001"
|
||||
Reference in New Issue
Block a user