Teaching compiler code generation
William Mahoney, Jay Pedersen · ACM SIGCSE Bulletin · 2010
The code generation portion of a compiler is still typically constructed by hand in an ad-hoc manner. When teaching a compiler construction class, the code generation phase can occupy a large portion of a one semester project. To address this, we have created an extremely small instruction set simulator which is easily learned in a short period of time. We've termed this a RRISC (Really Reduced Instruction Set Computer) and have been using it successfully for several years.