Skip to content

Unnecessary sign extend in fetch_operand() #14

@rkrten

Description

@rkrten

Hi, I believe that the M6809::fetch_operand() should have the extend8() around the immediate case fetch() removed.

This manifests as causing the disassembler to display LDA #$F9 as LDA#$FFF9; that is, a gratuitous sign extension.

The extend8() doesn't appear to be required for the 6809 emulation; I've removed it on my system and everything still runs fine.

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