Skip to content

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

@phillipeaton

Description

@phillipeaton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions