Re: [hatari-devel] External disassembler and FPU instructions

[ Thread Index | Date Index | More Archives ]

Le 18/04/2019 à 15:02, Thorsten Otto a écrit :
On Donnerstag, 18. April 2019 14:53:52 CEST Nicolas Pomarède wrote:
Or even to (code that could be assembled directly) :

    CMP.L #$fa52235f,$00fa0000
    BNE.B #$0a
    LEA.L (PC,$0008),A6

The $0008 there is just the offset in the instruction. To an assembler, that
instruction would mean something different. Same for branches etc. But
especial for branches, it would make IMHO more sense to print the target
address instead of the offset.

But if you print the target address, this becomes a different addressing mode, it's no more pc-relative. Or do you mean using instead :

 lea 8(pc),a6 ?


Mail converted by MHonArc 2.6.19+