Open Domkeykong opened 5 months ago
Same behavoir for me. As a workaround I do this:
!PREVIOUS_PC #= pc()
spcblock $400 nspc
incsrc "spc/default.spc700.asm"
endspcblock execute spc_entry
base !PREVIOUS_PC+pc()-$400+4 ; $400 is the entry of the spc code
org pc()|$400000
undef "PREVIOUS_PC"
I have a hirom code, therefore I do the org pc()|400000
to set the address correctly
Assembling the following code reproduces the error.
prints: