ref: ed06981f57cc9913a3d61b98e3708efe116e3010
parent: ec6c42e9d60d3695e89f675588195597efbf32ff
author: ISSOtm <eldredhabert0@gmail.com>
date: Sun Jan 26 16:40:58 EST 2020
Add test for `db X, @` It should behave identically to both of these on separate lines
--- /dev/null
+++ b/test/link/db-@.asm
@@ -1,0 +1,7 @@
+SECTION "fixed", ROM0[0]
+ db 0, @
+; We need this section to be floating because RGBASM can know the value of PC
+; otherwise, leading to different behavior
+; FIXME: we rely on this landing at address 2, which isn't *guaranteed*...
+SECTION "floating", ROM0
+ db 2, @
--- /dev/null
+++ b/test/link/db-@.out.bin
@@ -1,0 +1,1 @@
+
\ No newline at end of file