All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Embedded Systems and Microcontrollers


Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming.

Reply   Post New Thread
Thread Tools Display Modes
Old 04-10-2010, 04:11 AM
longcrystal longcrystal is offline
Junior Member
Join Date: Mar 2010
Posts: 20
Default HEX code TO assembly code pic16f84a servo motor code

sorry for disturb

first i write a program in microcode this software,after that i compile the source code become a hex code.

i have a burner but must used in mplab in programmer i used" mplab icd2"
i need a help hex code converter to assembly code because withouth assembly code i cannot quickbuild,if cannot quickbuild i cann success use hex code directly burn it my chipic16f84a ,so i must choose assembly code to do the quickbuild process after that i think used this way i can burn it successful.

so hope someone can help me convert this hex code become a correctly assembly code.


anyone can help me i will feel very grateful for u ....thank anyone can come to help thank thank
Reply With Quote
Old 04-10-2010, 02:29 PM
beenthere's Avatar
beenthere beenthere is offline
Senior Member
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 15,815
Blog Entries: 10

What you need is a "disassembler". There is one here -

More can be found using "16f84a disassembler" as a search term.
First comes the hardware, then the software.
Reply With Quote
Old 04-10-2010, 02:38 PM
retched's Avatar
retched retched is offline
Senior Member
Join Date: Dec 2009
Location: Baltimore, MD
Posts: 5,198
Blog Entries: 14

I am confused. Are you saying you can not program the chip with the hex file?

What language did you write the original code in?

Do you still have the original code? Can you export it into ASM?
Reply With Quote
Old 04-10-2010, 03:05 PM
jpanhalt jpanhalt is offline
E-book Developer
Join Date: Jan 2008
Location: Ohio, USA(GMT-5)
Posts: 3,651

Maybe this will help:

Reply With Quote
Old 04-10-2010, 06:15 PM
retched's Avatar
retched retched is offline
Senior Member
Join Date: Dec 2009
Location: Baltimore, MD
Posts: 5,198
Blog Entries: 14

This is the way I have done it, I have never needed to load the ASM as well.

For instance, If you write the code in picBasic then compile it to HEX, you then follow the linked instructions to program the PIC using MPLAB.
Reply With Quote
Reply   Post New Thread

, , , , ,

Related Site Pages
Section Title
Textbook Microprocessor programming : Principles Of Digital Computing

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with pic16f84a code ecka333 Embedded Systems and Microcontrollers 8 04-26-2010 08:10 PM
what is the best way to write a delay code in assembly walid el masry Embedded Systems and Microcontrollers 15 10-10-2009 08:58 PM
PIC16F84A Servo Driver Troubles solpic Embedded Systems and Microcontrollers 6 09-15-2009 10:06 PM
Help with assembly code for 16F627/8 mr boss Embedded Systems and Microcontrollers 3 06-05-2009 10:46 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:42 PM.

User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.