+ Reply to Thread
Results 1 to 3 of 3

Thread: Need assembler help

  1. #1
    resystor Newbie
    Join Date
    Sep 2008
    Location
    BC Canada
    Posts
    11

    Default Need assembler help

    I've got a program written for my Z80 microprocessor. I have assembled it and now have an "OBJ" file. I need to change it to a "HEX" file before I can download it to to my RAM. How do I make it into a "HEX" file? Is there a HEX compiler somewhere? thanks


  2. #2
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,775

    Default

    Check the settings on your assembler, there may well be a setting to make it produce a HEX file, although it depends what the assembler is designed to be used for.

    It's also possible that the OBJ is just the same, again it depends what kind of HEX file your programmer is expecting.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent
    Join Date
    Sep 2007
    Location
    Vancouver, B.C.
    Posts
    1,980

    Default

    Isn't an obj the assembled file before being linked? Look for a linker and run it on that obj file (with the appropriate options).
    =========================
    Futz's Microcontrollers & Robotics
    =========================

+ Reply to Thread

Similar Threads

  1. Glcds with Pic 18F Assembler
    By richard.c in forum Micro Controllers
    Replies: 26
    Latest: 5th October 2009, 01:51 PM
  2. just learning assembler
    By t.man in forum Micro Controllers
    Replies: 1
    Latest: 10th November 2008, 01:05 PM
  3. Messing with Assembler - Help!
    By Omar.M in forum Micro Controllers
    Replies: 17
    Latest: 2nd March 2008, 03:38 PM
  4. Assembler?
    By RedCore in forum Electronic Projects Design/Ideas/Reviews
    Replies: 10
    Latest: 8th May 2007, 02:59 AM
  5. I need a Z80 Compiler/assembler
    By Marks256 in forum Chit-Chat
    Replies: 13
    Latest: 18th August 2006, 10:34 PM

Tags for this Thread