joeldipops / gbz80-pseudoOps

Set of rgbasm macros and constants to facilitate readability for modern programmers
MIT License
8 stars 1 forks source link

`ldhAny` only loads *to* HRAM, not *from* #15

Closed ISSOtm closed 5 years ago

ISSOtm commented 5 years ago

Pretty much what is says on the "tin" :P

joeldipops commented 5 years ago

Have removed the ldh related macros. ldAny will now select ldh over ld when appropriate, both to & from

joeldipops commented 5 years ago

Turns out the assembler always converts ld to ldh if it can (unless you use the -L flag) and my significant ldAny changes don't actually do what they're supposed to, afterall.

ISSOtm commented 5 years ago

"When it can" doesn't include labels, since those are managed by the linker = post-assembly