print all registers on exit