5

Another slightly esoteric microcontroller in a product I'm looking at - the NEC 78K0R microcontroller. This is a 16-bit extension of the 78K0. The 78K0 can be disassembled in IDA Pro, but not the 78K0R.

Renesas Cubesuite allows viewing of disassembly of code compiled/assembled through it, as does IAR Workbench, but I can't see a way of loading a bin or hex file into these for disassembly.

KPIT GNU binutils has support for the RL78, which has a lot in common with the 78K0 instruction set, but is still very different.

Is there a free disassembler for these microcontrollers?

asheeshr
  • 2,465
  • 8
  • 28
  • 41
Cybergibbons
  • 1,762
  • 2
  • 17
  • 26

1 Answers1

6

Cubesuite+ can disassemble hex files.

1) Download and install Cubesuite+ from Renesas. V2.0.0 was used in this instance.

2) Start Cubesuite+

3) Go to Project -> Create New Project

Cubesuite+

4) Change the Microcontroller to the correct one.

5) Change the Kind of Project to "Debug Only".

Project setup

6) Once the project has been created, in the Project Tree, right click on Download files and go to Add

7) Find your hex or bin file and load it.

Add download file

8) Go to Debug -> Build and Download

9) The 78K0R simulator starts and the disassembly is visible.

I have yet to work out how to denote instruction and data segments.

Cybergibbons
  • 1,762
  • 2
  • 17
  • 26