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

Unexpected Behaviour: EQU name not being applied when created with deflabel #21

Open
phillipeaton opened this issue Mar 2, 2023 · 0 comments

Comments

@phillipeaton
Copy link

Consider this 6502 source code created by dasmfw
image

NUMBER_OF_BYTES_TO_FILL comes from a label (just like UDG_RAM a couple of lines later)
image

Unlike UDG_RAM, NUMBER_OF_BYTES_TO_FILL is not an address, it's just a quantity, but anyway, it appears in the created source code
image

However, if I swap to using a deflabel
image

then I still get the same equ created in the source code (now in the Used Definitions list)
image

but it doesn't get used in the code, I only see the raw number instead:
image

I'm not sure if this is a bug or correct behaviour as designed, but either way, it wasn't what I was expecting.

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