Low Level Programing languages

Discussion in 'Code Snippets and Tutorials' started by audio2000, Sep 13, 2008.

Thread Status:
Not open for further replies.
  1. audio2000

    audio2000 Newbie

    Joined:
    May 26, 2008
    Messages:
    35
    Likes Received:
    1
    I am sure there are a lot of competent programmers on here using high level programming languages however to test people’s knowledge... has anyone ever written a program in Assembly language using the mov pop call and jmp functions then converting that to binary or hex to program onto a eeprom?.. hehe.. just to note im not referring to a full full windows based program.. I am referring to designing a code for a microprocessor to be used on something robotic
     
  2. Zer0

    Zer0 Level IV

    Joined:
    Mar 2, 2008
    Messages:
    3,037
    Likes Received:
    180
    Location:
    Home sweet home
    I've done a bit of ASM before, but not a full program.
    If you're doing this for robotics, just write a program in C and compile it into binary. There's no need to go into ASM.
     
  3. audio2000

    audio2000 Newbie

    Joined:
    May 26, 2008
    Messages:
    35
    Likes Received:
    1
    well im not writing anything in asm was just wondering if anyones done it.. however i had to do it once in asm becuse C/C++ wouldnt work for it.. however doing it in asm over C.. doing it in ASM you use less code space then if it was in C when the compiler converts it over to ASM
     
  4. Zer0

    Zer0 Level IV

    Joined:
    Mar 2, 2008
    Messages:
    3,037
    Likes Received:
    180
    Location:
    Home sweet home
    That's not entirely true. Compilers these days are super optimized these days, and can generally generate better performing code than an average ASM programmer. You can specify with GCC/G++ whether you want to optimize for space or speed, and how much.
     
  5. audio2000

    audio2000 Newbie

    Joined:
    May 26, 2008
    Messages:
    35
    Likes Received:
    1
    i will take what you said with a grain of salt since technology changes so rapidly anymore... plus it’s been a long time since I have had to use ASM...:p now on that note if you can find a program that will decompile a program into ASM then convert that into C++ Code or any other language that would be something I would be interested in.. i belive thats considering the Holy grail but i could be wrong..
     
  6. Zer0

    Zer0 Level IV

    Joined:
    Mar 2, 2008
    Messages:
    3,037
    Likes Received:
    180
    Location:
    Home sweet home
    What you are looking for is a decompiler ;)
    If you know in what language the program is written, you could try to find a decompiler for that program. Just Google "C++" decompiler or something of that sort and it should turn up quite a few results.
     
  7. audio2000

    audio2000 Newbie

    Joined:
    May 26, 2008
    Messages:
    35
    Likes Received:
    1
    ya i know its a decompiler i just never could find a good one... be handy to decompile a program to find the code used to verify a correct serial number for a program ...
     
Thread Status:
Not open for further replies.