Skip to content

Avoid use of label for constants #25

Description

@Wawavoun

Hi,

I try to disassemble some 6809 code with f9dasm.

Actually when I have for exemple "LDA #0000" (in fact in opcode of course) f9dasm disassemble this as "LDA M0000" and create a line "M000 EQU $0000".
This works but create a lot of labels which are, for me, very disturbing.

I found that put a CONST instruction in the info file at the address of the operand #0000 solve the problem... for this specific instruction !
I have to do that each time #0000 is used in the code... And same for all the others constant values used everywhere...

Is there a better approach to do that and avoid these kind of labels ?

Thanks and regards.
Philippe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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