-
-
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
Different length for instructions and data? #39
Comments
Hi! I'm glad you're finding it useful! Could you please post an example program, showing the problem and your workaround? I'd like to make sure I'm getting the problem right. I'm not sure how your program bank integrates with the data bank -- there are two address spaces? |
The issue seems to have been solved in v0.11 with the ability to set
Is this a bug or intended behaviour? I think the |
Oops, sorry! I've fixed this in v0.11.1. Could you let me know if it's now working for you? |
Yes, now it's working perfectly. Thank you! |
Hi, I'm working on an 8 bit computer with 16 bit (2 byte) instructions. Those 2 bytes are stored at the same address, so the issue I'm facing is that the pc from the assembler gets increased by 2, when it should only be increased by 1. This causes jumps to a label to not work.
The solution would be to use #bits 16 but that messes up the data memory. Is there any way to use #bits 16 on the program bank and #bits 8 on the data bank?
I currently have a workaround (accept an address as u9 instead of u8 and ignore the last bit), but I'd like to know if there is a native solution.
Thank you for this great program.
The text was updated successfully, but these errors were encountered: