ASM to HEX converter tool

Discussion in 'Embedded Systems and Microcontrollers' started by hazim, Sep 10, 2009.

  1. hazim

    Thread Starter Active Member

    Jan 3, 2008
    I am new to micro-controllers and programming them. I learned to program the 16F84 but I can't go to practice what I have learned because I program it in assembly while the programmer software can take a hex or bin file to program the uc... What I need is a tool that can converts asm file to hex file, I knew that each uc has its instructions and therefore there is no difinite converter tool for all ucs, but I need it for PICs and maybe in the tool they ask about the type and name/number of the IC.
  2. AlexR

    Well-Known Member

    Jan 16, 2008
    Download and install MPlab from the Microchip WEB site. It is free and has all the tools you need to write assembler programs and create hex files suitable for downloading to a PIC programmer.
  3. hazim

    Thread Starter Active Member

    Jan 3, 2008
  4. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
  5. Dragonblight

    Active Member

    Aug 19, 2009
    MPlab is definately free, you'll want to download it off the microchip site- you'll find the link on the right of some of their programming device product pages.

    Once you have the software, open your .asm and run quickbuild, followed by an export. This puts it into a .hex file you can program in with your favorite programming tool.