Suggest ld and call when failing to link ldh and rst

This commit is contained in:
Rangi42
2025-08-11 15:02:18 -04:00
parent 5f8b7474b4
commit 02310489c6
4 changed files with 11 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
error: JR target must be between -128 and 127 bytes away, not 190; use JP instead
at invalid-patches.asm(10)
error: Address $0 for LDH is not in HRAM range
error: Address $0 for LDH is not in HRAM range; use LD instead
at invalid-patches.asm(9)
error: Requested SIZEOF() of undefined section "NonexistentSection"
at invalid-patches.asm(8)

View File

@@ -1,3 +1,3 @@
error: Address $1234 for LDH is not in HRAM range
error: Address $1234 for LDH is not in HRAM range; use LD instead
at ldh-bad.asm(2)
Linking failed with 1 error

View File

@@ -1,3 +1,3 @@
error: Value $1 is not a RST vector
error: Value $1 is not a RST vector; use CALL instead
at rst-bad.asm(2)
Linking failed with 1 error