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

Bug: Bank and Direct page registers are ignored when replacing 8-bit addresses with labels #67

Open
ChristopheF opened this issue Oct 10, 2021 · 0 comments

Comments

@ChristopheF
Copy link

ChristopheF commented Oct 10, 2021

If I define a label named "TEST" for address $000016 then the instruction:
STZ.B $16
is replaced with
STZ.B TEST
in both the Diz user interface and the generated asm code, no matter which values are in the B and D columns!

But this is only appropriate if both the 'B' and 'D' columns are set to 0.
If these columns have other values, the IA column contains the true address of the operand, which should not be replaced with the label for the address $000016, but with the label for the address in the IA column.
This is related to #34

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