4 ms·
I'm learning about compilers and operating systems. And I don't know how much assembly should I learn. Ofc, I can't read whole x86 manual.
by mesaframe 8y ago
I'm learning about compilers and operating systems. And I don't know how much assembly should I learn. Ofc, I can't read whole x86 manual.
- blihp 8y agoEnough so that you're comfortable that you have a solid mental model of what the CPU is actually doing when a given program is running. (i.e. at least get to the point where the CPU is no longer a black box to you.)
- mesaframe 8y agoI did take a computer architecture class but all there was addressing modes and few basic instruction classes. Things got difficult when I started studying OS. Then I came to know that sopport for things like page table, higher privilege level instructions etc are all in Architecture itself (Though I still have to read about them from manual). I don't know what else am I missing.
- mhh__ 8y agoLearn Assembly, as an abstraction, then learn the instruction (Sets) as you need them. Don't bother targeting X86 if you value your sanity