mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Add link-time RST instruction
This allows using a label as the argument to a `rst` instruction Fixes rednex#448
This commit is contained in:
3
test/link/rst-bad.asm
Normal file
3
test/link/rst-bad.asm
Normal file
@@ -0,0 +1,3 @@
|
||||
SECTION "bad", ROM0[0]
|
||||
rst bad
|
||||
bad: ; This is not at a RST vector!
|
||||
Reference in New Issue
Block a user