A forey into CPU instruction set design and dynamic recompilation