sim: cpu_sim: bugfix; add ERET and relevant registers