Author Topic: PIC18 disassembler  (Read 4434 times)

0 Members and 1 Guest are viewing this topic.

Offline AlexTopic starter

  • Regular Contributor
  • *
  • Posts: 175
  • Country: gb
PIC18 disassembler
« on: October 10, 2015, 10:54:51 pm »
Are you aware of a disassembler for the PIC18, PIC18F26K22 to be exact?

Alex
 

Offline oPossum

  • Super Contributor
  • ***
  • Posts: 1415
  • Country: us
  • Very dangerous - may attack at any time
Re: PIC18 disassembler
« Reply #1 on: October 10, 2015, 11:17:40 pm »
A list of some disassemblers: http://www.piclist.com/techref/microchip/dissassemblers.htm

I used this one a few years ago. Works well.  http://www.etc.ugal.ro/cchiculita/software/picdisasm.htm


I think there is a way to get MPLAB to do a dissembly, but I don't remember how.
 

Offline AlexTopic starter

  • Regular Contributor
  • *
  • Posts: 175
  • Country: gb
Re: PIC18 disassembler
« Reply #2 on: October 11, 2015, 12:17:11 am »
Thanks oPossum - I have in the meanwhile done a disassembly via MPLABX. You load the hex file as a prebuilt source to a new project. You then go to Window->PIC memory views->Program memory. You can also run the code in debug mode with the simulator and see for example what is written in SFRs.

I have downloaded the picdisasm and done a disassembly. Looks robust and matches the MPLABX disassembly - at least the part I am interested in.

Alex
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf