mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
Allow the bit/res/set bit index to be determined at link time (#1654)
This increments the object file revision number from 11 to 12 since it adds a new `RPN_BIT_INDEX` command.
This commit is contained in:
10
test/link/bit-res-set.asm
Normal file
10
test/link/bit-res-set.asm
Normal file
@@ -0,0 +1,10 @@
|
||||
SECTION "test", ROM0
|
||||
Label:
|
||||
bit Label + 0, b
|
||||
bit Label + 1, c
|
||||
res Label + 2, d
|
||||
res Label + 3, e
|
||||
set Label + 4, h
|
||||
set Label + 5, l
|
||||
bit Label + 6, a
|
||||
set Label + 7, [hl]
|
||||
Reference in New Issue
Block a user