3 ms·
Do you have a link to C for Assembly Programmers? A google search doesn't turn up anything.
by qntty 10y ago
Do you have a link to C for Assembly Programmers? A google search doesn't turn up anything.
- jstimpfle 10y agoIt was just an idea. C is as low as most people bother to go these days.
- AdmiralAsshat 10y ago"C For Assembly Programmers" would an interesting read. I've looked at some mission-critical C code before, where much of the language is abandoned in favor of "safety"; in those cases I got the feeling that C was being used as little more than an Assembly preprocessor.
- roel_v 10y agoMost books from the early days were essentially that, although they weren't called that because it was just assumed. The K&R is, in a way, even if it doesn't mention assembly. It's obvious to see how a for loop relates to the assembly instructions (of course it isn't today, with all the trickery compilers do underneath).
- greenyoda 10y agoYeah, K&R assumes at least some familiarity with assembly programming - it uses assembly-level terms like "address" and "register", without ever defining what they mean. The chapter on pointers starts out with: "A pointer is a variable that contains the address of another variable." [1st edition, 1978]