Found in 1 comment on Hacker News
If you’re just starting out, I suggest the introductory book by Patterson and Hennessey (not the Quantitative Approach which is a tome) - https://www.amazon.in/Computer-Organization-Design-MIPS-Inte...

Another one is Computer Systems: A Programmer’s Perspective: http://csapp.cs.cmu.edu/

Fresh book recommendations delivered straight to your inbox every Thursday.