Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Exactly. A MOV is reduced to a register rename. An intelligent compiler can rewrite multiply/divide by 2 as shifts if it makes sense, etc.

"Assembly is not a low level language" is my favorite take, and with microcode and all the magic inside the CPU, it becomes higher level at every iteration.



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

Search: