Closed ProxyPlayerHD closed 1 year ago
Oh, no... I wonder if this has to do with the optimization step used by the matcher. Could you try running with --debug-no-optimize-matcher
for the time being, to see if it solves the issue while I work on a fix?
I tried the example with the debug flag, and it made no difference in the behavior.
I tried the example with the debug flag, and it made no difference in the behavior.
I can confirm this, I encountered the same issue, and the debug flag did non change the outcome.
Turns out there was an oversight with that debug flag, and it wasn't working at all... 🤦 The non-optimized matcher algorithm did avoid this issue, indeed. It was a problem with the optimized algorithm.
ey, haven't used this program in a while. but i've gotten back into 68k Assembly so i dusted the old files off and started working on it again.
but i noticed that my version of CustomASM was pretty outdated so i updated it, and as expected it broke some stuff. specifically unlike the old version i used the newest one (v0.13.3) was unable to resolve any condional branch instructions. i copied all nesseary parts for the error to appear from the 68k CPU file:
but i was able to further narrow it down to this minimal setup:
this is also where the name for the title comes from, because if you put a whitespace character between the instruction and
{sel:SELECT}
it works regardless of the amount of characters in the instruction.... but of course that is not really an option as the branches cannot have whitespaces in their mnemonic. so i'm hoping this can be fixed so that instructions of any length can use subruledefs as part of their mnemonic.