I haven't found any better resource than nand2tetris, see Projects 6 to 12 where you start with an assembler and end up with a compiler [1]. There is the accompanying books [2] and coursera courses [3]. Hope this helps, best!
[1] https://www.nand2tetris.org/course
[2] https://www.nand2tetris.org/book
[3]https://www.coursera.org/courses?query=from%20nand%20to%20te...
[4]
I haven't found any better resource than nand2tetris, see Projects 6 to 12 where you start with an assembler and end up with a compiler [1]. There is the accompanying books [2] and coursera courses [3]. Hope this helps, best!
[1] https://www.nand2tetris.org/course
[2] https://www.nand2tetris.org/book
[3]https://www.coursera.org/courses?query=from%20nand%20to%20te...
[4]