HEX code TO assembly code pic16f84a servo motor code

Discussion in 'Embedded Systems and Microcontrollers' started by longcrystal, Apr 10, 2010.

  1. longcrystal

    longcrystal Thread Starter New Member

    Joined:
    Mar 22, 2010
    Messages:
    20
    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 chip:pic16f84a ,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:(:(
  2. beenthere

    beenthere Retired Moderator

    Joined:
    Apr 20, 2004
    Messages:
    15,815
    Location:
    Missouri, USA (GMT -6)
  3. retched

    retched AAC Fanatic!

    Joined:
    Dec 5, 2009
    Messages:
    5,198
    Location:
    Baltimore, MD
    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?
  4. jpanhalt

    jpanhalt E-book Developer

    Joined:
    Jan 18, 2008
    Messages:
    4,040
    Location:
    Ohio, USA(GMT-5)
  5. retched

    retched AAC Fanatic!

    Joined:
    Dec 5, 2009
    Messages:
    5,198
    Location:
    Baltimore, MD
    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.
Similar Threads
Forum Title Date
Embedded Systems and Microcontrollers Convert C code into assembly PIC12F508 Nov 18, 2014
Embedded Systems and Microcontrollers Delay problems with assembly code and pic Apr 12, 2014
Embedded Systems and Microcontrollers assembly code for counter Jan 2, 2014
Embedded Systems and Microcontrollers Assembly code of TEA encryption for Atmel 8051 microcontroller Mar 3, 2013
Embedded Systems and Microcontrollers Convert PIC code from Assembly language to C/C++ Aug 21, 2012

Share This Page