1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/test/asm/listing/033-assert-ldwarning-success.s
Spiro Trikaliotis 343bc1a489 More assert tests
Also test ldwarning and lderror options.
2022-06-20 22:16:55 +02:00

82 lines
2.8 KiB
ArmAsm

; 2022-06-15 Spiro Trikaliotis
.ASSERT * = $0000, ldwarning, "Code not at $0000"
.assert * = $0000, ldwarning, "Code not at $0000"
.ASSERT * = $0001, ldwarning, "Code not at $0001"
.assert * = $0001, ldwarning, "Code not at $0001"
.ASSERT * = $1000, ldwarning, "Code not at $1000"
.assert * = $1000, ldwarning, "Code not at $1000"
.ASSERT * = $1001, ldwarning, "Code not at $1001"
.assert * = $1001, ldwarning, "Code not at $1001"
.ASSERT * = $8000, ldwarning, "Code not at $8000"
.assert * = $8000, ldwarning, "Code not at $8000"
.ASSERT * = $8001, ldwarning, "Code not at $8001"
.assert * = $8001, ldwarning, "Code not at $8001"
nop
.ASSERT * = $0000, ldwarning, "Code not at $0000"
.assert * = $0000, ldwarning, "Code not at $0000"
.ASSERT * = $0001, ldwarning, "Code not at $0001"
.assert * = $0001, ldwarning, "Code not at $0001"
.ASSERT * = $1000, ldwarning, "Code not at $1000"
.assert * = $1000, ldwarning, "Code not at $1000"
.ASSERT * = $1001, ldwarning, "Code not at $1001"
.assert * = $1001, ldwarning, "Code not at $1001"
.ASSERT * = $8000, ldwarning, "Code not at $8000"
.assert * = $8000, ldwarning, "Code not at $8000"
.ASSERT * = $8001, ldwarning, "Code not at $8001"
.assert * = $8001, ldwarning, "Code not at $8001"
.org $8000
.ASSERT * = $0000, ldwarning, "Code not at $0000"
.assert * = $0000, ldwarning, "Code not at $0000"
.ASSERT * = $0001, ldwarning, "Code not at $0001"
.assert * = $0001, ldwarning, "Code not at $0001"
.ASSERT * = $1000, ldwarning, "Code not at $1000"
.assert * = $1000, ldwarning, "Code not at $1000"
.ASSERT * = $1001, ldwarning, "Code not at $1001"
.assert * = $1001, ldwarning, "Code not at $1001"
.ASSERT * = $8000, ldwarning, "Code not at $8000"
.assert * = $8000, ldwarning, "Code not at $8000"
.ASSERT * = $8001, ldwarning, "Code not at $8001"
.assert * = $8001, ldwarning, "Code not at $8001"
nop
.ASSERT * = $0000, ldwarning, "Code not at $0000"
.assert * = $0000, ldwarning, "Code not at $0000"
.ASSERT * = $0001, ldwarning, "Code not at $0001"
.assert * = $0001, ldwarning, "Code not at $0001"
.ASSERT * = $1000, ldwarning, "Code not at $1000"
.assert * = $1000, ldwarning, "Code not at $1000"
.ASSERT * = $1001, ldwarning, "Code not at $1001"
.assert * = $1001, ldwarning, "Code not at $1001"
.ASSERT * = $8000, ldwarning, "Code not at $8000"
.assert * = $8000, ldwarning, "Code not at $8000"
.ASSERT * = $8001, ldwarning, "Code not at $8001"
.assert * = $8001, ldwarning, "Code not at $8001"