+ Post New Thread
Results 1 to 9 of 9
  1. #1
    Newbie level 3
    Points: 1,507, Level: 8
    Achievements:
    7 years registered

    Join Date
    Jul 2007
    Location
    California
    Posts
    4
    Helped
    0 / 0
    Points
    1,507
    Level
    8

    asm at89c51

    Hello guys, I need some help on convert this file (StepL298.ASM) to HEX. This file has been taken from here........>(http://home.att.net/~jamesc2000/l297.html) this file is to be programmed on a 8052 chip for driving stepper motors. I used this software....> see the attachment (program)and there is something wron with the program. Maybe i have the wrong sofware to Hex this file. Any idea , what kind of software I need?.

    Thank you.

    •   AltAdvertisement

        
       

  2. #2
    Banned
    Points: 6,109, Level: 18

    Join Date
    Jan 2004
    Location
    Philippines
    Posts
    963
    Helped
    74 / 74
    Points
    6,109
    Level
    18

    at89c51 assembler

    Quote Originally Posted by yeah
    Hello guys, I need some help on convert this file (StepL298.ASM) to HEX. This file has been taken from here........>(http://home.att.net/~jamesc2000/l297.html) this file is to be programmed on a 8052 chip for driving stepper motors. I used this software....> see the attachment (program)and there is something wron with the program. Maybe i have the wrong sofware to Hex this file. Any idea , what kind of software I need?.

    Thank you.
    Just search google for asm to hex converters.



  3. #3
    Advanced Member level 5
    Points: 74,061, Level: 66

    Join Date
    Oct 2004
    Location
    West Coast
    Posts
    7,942
    Helped
    2331 / 2331
    Points
    74,061
    Level
    66

    asm at89c

    Maybe your assembler doesn't like the $-stuff .. or you just don't have required MOD files (see attachement) ..
    Anyhow, here are stepl298.hex and stepl298.lst files crated with the standard ASM51.EXE and MOD252 ..

    Regards,
    IanP


    1 members found this post helpful.

  4. #4
    Newbie level 3
    Points: 1,507, Level: 8
    Achievements:
    7 years registered

    Join Date
    Jul 2007
    Location
    California
    Posts
    4
    Helped
    0 / 0
    Points
    1,507
    Level
    8

    Re: at89c51 from ASM to HEX, help!

    Thank you guys for the quick answer, I apreciated (glenjoy,IanP).I've downloaded the files from IanP and.....what can I said (Thankx). You just made my life easier. Let me ask you, IanP . What version of MCS-51 You have?. My is version 1.3, It said M-IDE Studio for MCS-51 Release 0.2.5.10. There is an update?. How did you do this.
    Thank you.

    Added after 18 minutes:

    NEVER MINE!!!!!! I GOT IT..... THANKX



    •   AltAdvertisement

        
       

  5. #5
    Newbie level 3
    Points: 1,507, Level: 8
    Achievements:
    7 years registered

    Join Date
    Jul 2007
    Location
    California
    Posts
    4
    Helped
    0 / 0
    Points
    1,507
    Level
    8

    Re: at89c51 from ASM to HEX, help!

    Ok, thanks to IanP for sending me the file to hex. I'm still working in the project for the link above ... or here.....>http://home.att.net/~jamesc2000/l297.html, and before to do anything else ,I've decided to simulate this project using proteus to see how works (dont know about programming, Im still learning),but I found a lots of information, about how to simulate the at89c51 on proteus and how to call the hex file into it and simulate it. But aparently doesnt work as I spected. Can Anybody tell me something.....guide me... any help.... will really apreciated.

    Thank you guys.

    bare with me.



  6. #6
    Full Member level 3
    Points: 2,810, Level: 12

    Join Date
    Jan 2007
    Location
    Chennai(India)
    Posts
    168
    Helped
    9 / 9
    Points
    2,810
    Level
    12

    at89c51 from ASM to HEX, help!

    All complier has the charactersitic to change the Assembly language to Hex format. Even c format to Hex . Mostly u can use the Keil uVersion for compling the program to convert to hex format.



  7. #7
    Full Member level 3
    Points: 2,810, Level: 12

    Join Date
    Jan 2007
    Location
    Chennai(India)
    Posts
    168
    Helped
    9 / 9
    Points
    2,810
    Level
    12

    at89c51 from ASM to HEX, help!

    All complier has the charactersitic to change the Assembly language to Hex format. Even c format to Hex . Mostly u can use the Keil uVersion for compling the program to convert to hex format.



  8. #8
    Full Member level 3
    Points: 2,810, Level: 12

    Join Date
    Jan 2007
    Location
    Chennai(India)
    Posts
    168
    Helped
    9 / 9
    Points
    2,810
    Level
    12

    at89c51 from ASM to HEX, help!

    All complier has the charactersitic to change the Assembly language to Hex format. Even c format to Hex . Mostly u can use the Keil uVersion for compling the program to convert to hex format.



    •   AltAdvertisement

        
       

  9. #9
    Newbie level 4
    Points: 977, Level: 7

    Join Date
    Aug 2007
    Posts
    7
    Helped
    0 / 0
    Points
    977
    Level
    7

    Re: at89c51 from ASM to HEX, help!

    can you give me some documentation about 8051 pgogrammaing in c



--[[ ]]--