One of the best ways would be to build a computer yourself. For that I haven’t found anything better than ECS [1]. Please try to build your own extensions to ECS and don’t forget to burn your computer to FPGA.
Follow that up with Computer Systems A programmers perspective.[2]
My review of ECS [3]
[1] https://www.amazon.com/Elements-Computing-Systems-Building-P...
[2] https://www.amazon.com/Computer-Systems-Programmers-Perspect...
[3] https://www.amazon.com/gp/customer-reviews/RZ4ME4QH22JML/ref...