mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 19:22:05 +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:
8
test/asm/invalid-instructions.asm
Normal file
8
test/asm/invalid-instructions.asm
Normal file
@@ -0,0 +1,8 @@
|
||||
SECTION "invalid", ROM0[$10000]
|
||||
ld [hl], [hl]
|
||||
ld a, [$00ff+c]
|
||||
ld b, [c]
|
||||
ld b, [bc]
|
||||
ld b, [$4000]
|
||||
bit 8, a
|
||||
rst $40
|
||||
Reference in New Issue
Block a user