I remember this lecture being useful when I was writing a stack machine for my compilers course: <a href="https:&#x2F;&#x2F;class.coursera.org&#x2F;compilers&#x2F;lecture&#x2F;62" rel="nofollow">https:&#x2F;&#x2F;class.coursera.org&#x2F;compilers&#x2F;lecture&#x2F;62</a>