by omginternets · 10y ago · 0 comments
1. Write some C
2. Dump the corresponding assembly code
3. Modify the code by hand
5. Load into assembly debugger
6. Learn
There is "C", the language, which can be relatively simple. Or hopelessly opaque depending on the author.
I think of C the language as just a shorthand for assembly. Only because that's how I use it.
http://www.lysator.liu.se/c/bwk-tutor.html
But then there is "C" in practice: the specifications, the "standard" libraries, preprocessors, Makefiles, autoconf, etc.
1. Program that reads some input (e.g., C language) and generates asm and/or opcodes.
2. Program that reads asm and/or opcodes and generates binary numbers ("object files").
No. 1 is what I need.
No. 2 is what I call an "assembler". Although terminology means less to me than what a program actually does.