1

Source:

ROM:13A2 006                 ldab    #0Fh            ; Load B
ROM:13A4 006                 ldx     #0FA27h         ; Load IX
ROM:13A8 006                 tbxk                    ; Transfer B to XK
ROM:13AA 006                 ldaa    #55h            ; Load A
ROM:13AC 006                 staa    0, X            ; Store A

Every time I see this, I must calculate in my mind, what it is storing to REGISTER_NAME with address 0xFFA27 (and also save all register addresses in my mind). For some reason, IDA ignores the register description in *.cfg with 0xFFA27 address and with 0xFA27 as well (I've tried that).

Can I setup IDA to generate something more human readable? Like

ROM:13AC 006                 staa    0, X                 ; Store A to 0xFFA27

or

ROM:13AC 006                 staa    0, X ; REGISTER_NAME ; Store A to 0xFFA27

Because 90% of my code consists of similar expressions.

PS I'm very new, so be patient please.

1
  • There are three processor modules which IDA supports best: x86/x64, ARM/ARM64 and PowerPC. Everything else has a basic implementation: no function argument recognition, no type definitions, no structure application on the code. Especially, no support for platform-specific things. You will have to either implement the feature that you need yourself, in case processor module source code is available in IDA SDK, or workaround it in some way: via IDC script or IDA plugin which sets a hook on processor module events. Jul 24 at 10:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.