mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 12:32:07 +00:00
Add more test coverage for RGBASM (#1256)
This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
17
test/asm/invalid-instructions.err
Normal file
17
test/asm/invalid-instructions.err
Normal file
@@ -0,0 +1,17 @@
|
||||
error: invalid-instructions.asm(1):
|
||||
Address $10000 is not 16-bit
|
||||
error: invalid-instructions.asm(2):
|
||||
LD [HL],[HL] not a valid instruction
|
||||
error: invalid-instructions.asm(3):
|
||||
Expected constant expression equal to $FF00 for "$ff00+c"
|
||||
error: invalid-instructions.asm(4):
|
||||
Destination operand must be A
|
||||
error: invalid-instructions.asm(5):
|
||||
Destination operand must be A
|
||||
error: invalid-instructions.asm(6):
|
||||
Destination operand must be A
|
||||
error: invalid-instructions.asm(7):
|
||||
Immediate value must be 3-bit
|
||||
error: invalid-instructions.asm(8):
|
||||
Invalid address $40 for RST
|
||||
error: Assembly aborted (8 errors)!
|
||||
Reference in New Issue
Block a user