3 ms·
I'm slightly out of the loop, but don't modern compilers often actually skip real assembly and go from source code to an intermediate representation (which is l
by yjftsjthsd-h 3y ago
I'm slightly out of the loop, but don't modern compilers often actually skip real assembly and go from source code to an intermediate representation (which is like asm but not quite the same) to binary? Or is that aside your point?
- sylware 3y agoYou can have a look at cproc + qbe (I tend to favor that instead of tinycc, ofc clang and gcc are pure evil).
- inconceivable 3y agoasm can be the input and/or the output. https://stackoverflow.com/questions/10990018/how-to-generate-assembly-code-with-clang-in-intel-syntax https://stackoverflow.com/questions/10990018/how-to-generate...
- resoluteteeth 3y agoMachine code and assembly are basically interchangeable so they mean disassembled compiler output and it doesn't really make a difference
- Taniwha 3y agoThere have always been compilers that skip the "make assembly source" and go straight to object files - in fact the first time I saw unix V6 cc I was a bit scandalised (but it made sense for a system where programs had to be <= 64k in size)