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:
ISSOtm
2020-01-14 00:02:22 +01:00
parent 359a048b6e
commit b1cd730db2
14 changed files with 98 additions and 4 deletions

3
test/link/rst-bad.asm Normal file
View File

@@ -0,0 +1,3 @@
SECTION "bad", ROM0[0]
rst bad
bad: ; This is not at a RST vector!