Hacker News new | ask | show | jobs
by 314 2366 days ago
It’s a typo: he meant 0xa0 or 0x0a and the shift is the four positions to the right to extract the top nybble of the byte.
2 comments

Thanks, I believe this should be clearer with https://github.com/ianw/bottomupcs/commit/d8dfd3dc6be5795f4b...
Great resource - very detailed and your style is clear and readable. I'd happily recommend this to anybody who is studying an OS course (and in fact emailed a link to some people who teach similar courses to see if they would use it as background reading).
It appears this section might be incomplete:

Branch Prediction

pipeline flush, predict taken, predict not taken, branch delay slots

Awesome, thank you... I thought I was going insane. So you shift 4 times correct?