Hacker News new | past | comments | ask | show | jobs | submit login

Do you have a link to C for Assembly Programmers? A google search doesn't turn up anything.



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


Yeah, 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]


It was just an idea. C is as low as most people bother to go these days.


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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: