PDA

View Full Version : convert .HEX file to .ASM or .BAS file ???



iugmoh
- 30th March 2008, 19:17
Hi all,

I would like to ask if it's possible to convert Hex file to assembly or picbasic file ??

tenaja
- 30th March 2008, 20:02
if you search, you'll find a couple disassemblers/decompilers that will turn the hex into asm. There aren't any that convert to basic, or any other high-level language, due to the complexity.

iugmoh
- 31st March 2008, 10:42
thanks you tenaja but I don't find any results when searching, so if you can help me about some links or programms

Acetronics2
- 31st March 2008, 12:32
Hi, Iugmoh

Just download MPLAB !!!

- View\Program Memory
- File \Import

Choose the "Machine" or "Symbolic" Tab, at the left Bottom of the window ...

BUT:

- Labels and aliases can't be displayed ( not stored by the Hex File ) ... so, it's difficult to add lines without a GOTO-GOTO jumper; lines removed must be replaced by a NOP or equ.

DO NOT CHANGE THE LINE NUMBERS !!! without exactly knowing what you are doing ...

Only real interest is to translate strings, or add a part ( or 2 , or 3 ) of program at the end of the listing.

to save : right click, and " save as " progmod.txt " ...

Do not wait for miracles ... like get some PbP files !!!

Alain

iugmoh
- 31st March 2008, 19:19
thanks Acetronics