Ozone Debugger: Wrong disassembly

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Ozone Debugger: Wrong disassembly

    Hello,

    I just started evaluating the Ozone debugger a week ago and discovered that there is an issue with disassembly. I am using Ozone V2.44b, Ubuntu Linux 16.04.2 LTS.

    The attached target is AT91SAM9XE512.

    Have a look to following screenshot:


    Execution starts at Address 0x00000000.
    The first Instruction E59FF018 disassembles to LDR PC,[0000001C].

    In spoken words that would mean "Load the word from Address 0x0000001C to the PC".
    The truth is, that this Instruction loads the word from Address 0x00000020. Because: PC+0x08+0x18 = 0x20.

    The Ozone Debugger seems to add only 0x04 as if we were in Thumb mode.

    Another Example for wrong disassembly are Branch instructions:

    First have a look to this screenshot:

    The post was edited 4 times, last by qserve ().