Skip to content
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

Allow indirect shadow registers like (wa') in arch tables #42

Open
PeterLemon opened this issue May 27, 2022 · 0 comments
Open

Allow indirect shadow registers like (wa') in arch tables #42

PeterLemon opened this issue May 27, 2022 · 0 comments

Comments

@PeterLemon
Copy link
Collaborator

some cpu architectures like on the Neo-Geo Pocket, can access shadow registers indirectly within brackets (XX'), right now bass supports shadow registers outside brackets such as the Z80 instruction: ex af,af'
which encodes correctly with no errors, but when a shadow register is inside brackets such as: ex af,(af')
it triggers an error because bass thinks it is a string without an ending ' character

remming out this line in "/bass/utility.cpp": // if(quoted) error("mismatched quotes in expression");
is a quick fix for now if anyone needs this functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant