Re: [cc65] DA65 GEOS Disassembly?

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-10-31 17:36:33


Hi!

On Tue, Oct 28, 2003 at 01:05:04AM +1030, Todd Elliott wrote:
> Somehow, the disassembler mistakenly thinks that this is a zero page
> location, while being addressed in an absolute fashion, should be used in
> a zero page addressing mode.

This is fixed now in the latest snapshot. The disassembler will add an address
size override modifier if the operand would otherwise allow the assembler to
choose a cheaper addressing mode. So

        lda     $00     ; Zeropage mode: A5 00
        lda     $00     ; Absolute mode: AD 00 00

will now be disassembled as

        lda     $00     ; Zeropage mode
        lda     a:$00   ; Absolute mode

Since address size override modifiers are new in the development branch, this
feature of the disassembler won't go into the 2.9 branch (the assembler would
not be able to translate the code). Fortunately, most code does not need any
overrides.

As usual, any feedback about the changes is welcome!

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-31 17:37:00 CET