fix formatting of register display
fix restoring of processor flags in RTI