All About Circuits Forum  

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

Notices

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
  #1  
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.







:100000006B28A40014200C080D0403196628602036
:1000100084132408800664000D280E288C0A031916
:100020008D0F0B2880066628FF3A84178005662806
:100030008F018E00FF308E07031C8F07031C66287C
:1000400003308D00DF3026201A288D01E83E8C0019
:100050008D09FC30031C2F288C0703182C288C07D3
:1000600064008D0F2C280C1835288C1C39280000B2
:10007000392808008D018F018E00023049288D013A
:100080008F018E00013049288D018F018E000430D0
:10009000492894000F080D02031D50280E080C0279
:1000A000043003180130031902301405031DFF301A
:1000B00066280038031DFF300405031DFF30662845
:1000C0008C098D098C0A03198D0A08008313031308
:1000D00083126400080083168501033086008312B2
:1000E0009630AC00AE01AD01A901640033302902A5
:1000F000031885282C088C008D01053084000430FD
:1001000001200F301820A90F752800300618013083
:10011000AE00003086180130AD002C088C00C830CD
:100120003F209E002D088C0001303A20A0001E08C0
:10013000840020085920031D85282C088C00643079
:1001400044209E002E088C0001303A20A0001E089A
:10015000840020085920031D852864002E08003CD7
:100160000319B82864002D08003C0319CD28852800
:100170000A30AC07A9016400333029020318CB28E8
:100180002C088C008D0105308400043001200F30D4
:100190001820A90FBB28AE0185280A30AC02A9019E
:1001A0006400333029020318E0282C088C008D01EC
:1001B00005308400043001200F301820A90FD0280A
:0401C000AD018528E0
:02400E00FD3F74
:00000001FF



anyone can help me i will feel very grateful for u ....thank anyone can come to help thank thank
Reply With Quote
  #2  
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
Default

What you need is a "disassembler". There is one here - http://www.abc-directory.com/site/860607

More can be found using "16f84a disassembler" as a search term.
__________________
First comes the hardware, then the software.
Reply With Quote
  #3  
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
Default

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?
__________________
-rm-
Reply With Quote
  #4  
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,619
Default

Maybe this will help: http://www.ccsinfo.com/faq.php?page=mplabprogrammer

John
Reply With Quote
  #5  
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
Default

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.
__________________
-rm-
Reply With Quote
Reply   Post New Thread

Tags
, , , , ,


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 11:23 PM.


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