shithub: rgbds

Download patch

ref: b42a04c24ebcf55f1bc2927276a473490fdb6117
parent: ea52e4533526600b75bebcc1d02f1254e558951d
author: ISSOtm <eldredhabert0@gmail.com>
date: Sun Jan 26 16:28:14 EST 2020

Add test for `jr @`

Fun fact: current build *fails* this test!

--- /dev/null
+++ b/test/link/jr-@.asm
@@ -1,0 +1,7 @@
+SECTION "fixed", ROM0[0]
+	jr @
+; 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
+	jr @
--- /dev/null
+++ b/test/link/jr-@.out.bin
@@ -1,0 +1,1 @@
+
\ No newline at end of file