Make some error messages more consistent (#1393)

* Update some error messages

* Make non-A destination operand syntactically invalid
This commit is contained in:
Sylvie
2024-04-20 17:13:01 -04:00
committed by GitHub
parent 7aecc00919
commit 3e9d2cab12
6 changed files with 71 additions and 61 deletions

View File

@@ -1,3 +1,3 @@
error: invalid-jr.asm(3):
jr target out of reach (expected -129 < -258 < 128)
jr target must be between -128 and 127 bytes away, not -258; use jp instead
error: Assembly aborted (1 error)!