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
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.
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
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.
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... 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..
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.
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 ...