stack-machine

Learning resources - stack machines, JVM especially

Hi, I'm curious if anyone have any really good tutorials/articles/books for learning about stack machines in general, and the JVM in particular. I know these ones: http://www.artima.com/insidejvm/applets/EternalMath.html http://www.ibm.com/developerworks/ibm/library/it-haggar_bytecode/ http://www.theserverside.com/tt/articles/article....

SSA for stack machine code

I'm working on a compiler for a stack machine (specifically CIL) and I've parsed the code into a graph of basic blocks. From here I'm looking to apply SSA to the methods, but it's not going too well. My first attempt (while working with a flat listing, rather than the graph) was to iterate over the code and keep a stack of SSA ids (tha...

How does a register machine differ from a stack machine?

How does a register machine differ from a stack machine? ...