+ Reply to Thread
Results 1 to 11 of 11

Thread: convert to HEX a fike written For TASM assembler

  1. #1
    pouchito Newbie
    Join Date
    Nov 2006
    Posts
    103

    Default convert to HEX a fike written For TASM assembler

    Hi ALL

    I have a source file written for TASM ASSEMBLER and i want to compile it.
    I usually use MPLAB and i have never used another Assemlber
    I made many research to find a TASM software that can do this job. I found one called TASM 3.1 but yet was not able to get the HEX

    ANyone knows how to deal with TASM and can help me to convert the source code to HEX

    thanks a lot


  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,736

    Default

    You can download it from EPE at
    ftp://ftp.epemag.wimborne.co.uk/pub/PICS/TASM/
    or they have a converter in their toolkit software,
    ftp://ftp.epemag.wimborne.co.uk/pub/PICS/ToolkitTK3/
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    pouchito Newbie
    Join Date
    Nov 2006
    Posts
    103

    Default

    Still Need your help Please

    I have the PIC tape measure from EPE magazine
    it is written for TASM assembler

    I tried the TASM from
    ftp://ftp.epemag.wimborne.co.uk/pub/PICS/TASM/

    It is not working , it is giving me errors !!

    Please can you help me convert it ? maybe i m using it wrong

  4. #4
    pouchito Newbie
    Join Date
    Nov 2006
    Posts
    103

    Default

    i convert it to hex but still it is not working
    So you think there was an error during z conversion or the code is not correct?

  5. #5
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,774
    Blog Entries
    12

    Default

    hi P,
    Can you post the first part of your assembler code, the section where you
    initialise the assembler. ie; microproc type, type of file you want it to make.

    I use the TASM table assembler for some of my micro's.

    If you are generating lots of errors from a proven known assembler file, its likely
    that you not initialising the asmb correctly.
    Regards
    EricG
    Last edited by ericgibbs; 26th January 2007 at 06:40 PM.

  6. #6
    pouchito Newbie
    Join Date
    Nov 2006
    Posts
    103

    Default

    the source code i am trying to compile are found here :

    ftp://ftp.epemag.wimborne.co.uk/pub/PICS/TapeMeasure/

    I used this assembler:
    ftp://ftp.epemag.wimborne.co.uk/pub/PICS/ToolkitTK3/

    it was compiled but not working :S

    I don't beleive that the source code is incorrect cz it is published in z magazine
    I doubt that there was a mistake in the conversion yet the software change it to HEX without any error

  7. #7
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,774
    Blog Entries
    12

    Default

    pouchito,
    Converted your orginal TASM to MPLAB, it now assembles OK.
    Have not checked for function, just assembly, the rest is up to you.

    Use the Project Wizard on MPLAB 7.xx to create a Project.

    EricG

  8. #8
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,774
    Blog Entries
    12

    Default

    pouchito,
    File failed to attach ??
    EricG
    Last edited by ericgibbs; 7th July 2008 at 12:19 PM.

  9. #9
    pouchito Newbie
    Join Date
    Nov 2006
    Posts
    103

    Default

    Thank you too much ericgibbs

  10. #10
    Eplanet Bad Eplanet Bad
    Join Date
    Jun 2007
    Posts
    40

    Default

    hi
    i have a picbasic code and i want to convert to HEX file and copy to pic micro please tell me how i should convert to hex
    thanks


    ;LED control program by vladimir Tskhvaradze

    include "modedefs.bas" ;include serial modes
    pinin var PORTA.1 ;define pinin as porta.1
    B0 var byte

    POKE TRISB,0 ;set PORTB to output
    POKE TRISA,31 ;set porta to input
    POKE PORTB,0 ;turn off all LEDs

    loop:
    SERIN pinin,T2400,B0
    POKE PORTB,B0
    GOTO Loop



    can you give me hex file? i haven't any software
    Last edited by Eplanet; 3rd March 2008 at 01:19 PM.
    Take Locally Start Globally

  11. #11
    yasaribrahi Newbie
    Join Date
    Mar 2009
    Posts
    1

    Default

    hi Eplanet,
    write your mail and i will send you its hex file.

+ Reply to Thread

Tags for this Thread