-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Expected Expression" Error #40
Comments
I couldn't quite reproduce the exact error you mentioned without a proper test case, but I got a similar one, and I think I was able to fix the core issue. Could you please test the new version (it's also in the nightly Release) to check if your problem has been solved as well? By the way, I've also made directive names case-insensitive, but no customizable bank fill value yet. |
using the exact same code and CPU file i now get a different error:
overall i'm confused why this even happens, it's just a regular instruction with 3 parameters, i've done more with some RISC based CPUs so why is this such an issue? here the full CPU file, and file i'm testing this with, so you can hopefully reproduce this: and thanks for the changes to case sensitivity. it's really amazing that you do these changes and how quickly as well. |
Ok, I think I got it now! Can you try it on the new Nightly build? It was an issue with bank range checks for instructions that use forward-referenced labels. It was a bit tricky to solve, but I think it happened because my code was too messy. I think it's in need of a big refactoring. |
Sorry it was late and i got to bed. |
i'm back yet again with another confusing error! hope you missed me!
I'm currently working on building my own 65C02, and in order to test instructions i need code to test them with.
i wrote this simple piece to test the BBS/BBR instructions:
but i'm getting this error:
and this is the part in the CPU file:
BBR {val},{src},{src1} -> {val}[3:0] @ 0xF[3:0] @ src[7:0] @ ({src1} - pc)[7:0]
BBS {val},{src},{src1} -> ({val} + 8)[3:0] @ 0xF[3:0] @ src[7:0] @ ({src1} - pc)[7:0]
also while we're at it, why are all of the "#" keywords or commands like "#d", "#str", etc. case sensitive?
and lastly is it possible to have a "#bankdef" fill all empty or unused bytes with a specific number instead of of just 0's?
The text was updated successfully, but these errors were encountered: