rfblue2 / pic-disassembler

Disassembles PIC microcontroller bytecode to assembly code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PIC16FXXXX Microcontroller Family Disassembler

This was a fun side-project I did my sophomore year of high school (Spring 2013) in response to our Engineering instructor challenging us to create a disassembler for our microcontroller hex code.

The application is a Java desktop application with an interface that allows you to open .HEX files and converts them into readable assembly code (savable as a .asm file), complete syntax coloring :). It theoretically can convert code from any family of PIC microcontrollers (see the src/include file) but has only been tested on PIC16F887 and PIC16F877 microcontrollers, which we used in class.

The executable .jar file is included in the exec folder with a sample .HEX file for you to try with. For reference, the original .asm file used to generate the .HEX file (in MPLab) is included so that you can compare the disassembled .asm output with the original.

Fun fact: It was during this project that I learned about regular expressions and what they were used for.

Screenshots

opening interface

hex

asm

About

Disassembles PIC microcontroller bytecode to assembly code

License:The Unlicense


Languages

Language:Assembly 98.5%Language:Java 1.5%