mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-08 05:05:34 +00:00
Improve error message for negative shift arguments
This commit is contained in:
1 parent
045a9e8b93
commit
4e1d79081c
5 files changed
+12
-3
No files matched your search
@@ -0,0 +1,4 @@
|
||||
m: MACRO
|
||||
shift -3
|
||||
ENDM
|
||||
m
|
||||
@@ -0,0 +1,3 @@
|
||||
ERROR: shift-negative.asm(4) -> shift-negative.asm::m(2):
|
||||
Cannot shift arguments by negative amount -3
|
||||
error: Assembly aborted (1 errors)!
|
||||
Whitespace-only changes.
Reference in new issue
Block a user