H8/532: IDA Pro Bitfield/Flags Question

H8/532: IDA Pro Bitfield/Flags Question

Postby sr5guy2 » Fri Jan 20, 2012 10:50 pm

I am a self-taught IDA user hoping for some help here. I have an ECU disassembly that I am very well into with IDA PRO. I don't intend to re-compile it, I am just analyzing it at this time. This program makes extensive use of data bitfield flags for various status both in RAM and ROM. BSET and BCLR commands come up 400 times each in the program and the BTST command comes up 905 times! I am hoping that there is a way to associate a bitfield to a RAM or ROM address that will then identify itself throughout the dis. I understand a bit about enumerations and I have successfully used one, but going through each opcode and assigning an enumeration to it is going to be an absolute nightmare! I would like to assign labels to each individual bit of each status byte. For instance, #FC36.0 is VIS Flaps, #FC36.1 is EVAP sol, #FC36.2 is o2 Heater, #FC36.3 is A/C Clutch, ETC.

Is there a shortcut for this I'm missing?

Can enumerations be tied directly to a RAM/ROM address?

If I am stuck applying enumeration bitfields to each opcode how do I automate the process?

Thanks!!!

-Matt
sr5guy2
 
Posts: 1
Joined: Fri Jan 20, 2012 10:01 pm

Return to Subaru (all models)

Who is online

Users browsing this forum: No registered users and 12 guests

cron