I've just started reversing some microcontroller code and have the RAM, ROM, and SFR (Special Function Registers) segments set up. I've selected my processor architecture and it has named most of the registers correctly automatically. However, a few are incorrect (I assume this is due to variations between specific chips in the architecture family).

This is not a problem for most registers as I can simply rename and recomment them. However, some of the registers have the specific bits labelled and I have tried absolutely everything I can to remove them. I can rename the register itself and recomment it just fine, but I cannot modify or delete the bit specific fields.

In the image I have renamed the register at 002C to "VW2C" and added the correct comment. The previous name was "dm0con". As can be seen, the bit specific fields are still there and trying to rename or recomment them just edits the actual register itself.

I have searched and searched online but it is hard to find the answer since I'm not even sure what the proper name for these fields are. I have looked through all the toolbars and submenus but cannot get rid of these bit specific definitions.

enter image description here

  • what processor is this?
    – Igor Skochinsky
    Apr 21, 2021 at 14:19
  • It is a Renesas M16C64A. Apr 21, 2021 at 20:43

1 Answer 1


The I/O register names and bit layouts for processors that support them are stored in processor-specific .cfg files. For M16C, the files are m16c60.cfg and m16c80.cfg:

dm0con                0x2c     DMA0 control register
dm0con.dmbit_dm0con   0        Transfer unit bit select bit
dm0con.dmasl_dm0con   1        Repeat transfer mode select bit
dm0con.dmas_dm0con    2        DMA request bit
dm0con.dmae_dm0con    3        DMA enable bit
dm0con.dsd_dm0con     4        Source address direction select bit
dm0con.dad_dm0con     5        Destination address direction select bit

You can either edit the default registers or make a copy of the default .m16c device section under a new name and select it at load time.

enter image description here

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.