Three Pass Compiler for a simple architecture