1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-09 11:30:29 +00:00

More .assert testcases

Add testcases with error generation.
This commit is contained in:
Spiro Trikaliotis 2022-06-20 16:33:25 +02:00
parent 2040da0520
commit 7476c86ba9
15 changed files with 20 additions and 6 deletions

View File

@ -1,8 +1,3 @@
; 2022-06-18 Spiro Trikaliotis
; 2022-06-20 Spiro Trikaliotis
.assert * = $0000, error, "Code not at $0000"
.assert * = $0001, error, "Code not at $0001"
.assert * = $1000, error, "Code not at $1000"
.assert * = $1001, error, "Code not at $1001"
.assert * = $8000, error, "Code not at $8000"
.assert * = $8001, error, "Code not at $8001"

View File

@ -0,0 +1,3 @@
; 2022-06-20 Spiro Trikaliotis
.assert * = $0001, error, "Code not at $0001"

View File

@ -0,0 +1,3 @@
; 2022-06-20 Spiro Trikaliotis
.assert * = $1000, error, "Code not at $1000"

View File

@ -0,0 +1,3 @@
; 2022-06-20 Spiro Trikaliotis
.assert * = $1001, error, "Code not at $1001"

View File

@ -0,0 +1,3 @@
; 2022-06-20 Spiro Trikaliotis
.assert * = $8000, error, "Code not at $8000"

View File

@ -0,0 +1,3 @@
; 2022-06-20 Spiro Trikaliotis
.assert * = $8001, error, "Code not at $8001"

View File

@ -0,0 +1 @@
ld65: Error: 032-assert-error4.s:3: Code not at $0001

View File

@ -0,0 +1 @@
ld65: Error: 032-assert-error6.s:3: Code not at $1001

View File

@ -0,0 +1 @@
ld65: Error: 032-assert-error7.s:3: Code not at $8000

View File

@ -0,0 +1 @@
ld65: Error: 032-assert-error8.s:3: Code not at $8001