Added k register save/restore to inst functions
Merge branch 'development' of clark.pmaclabs.com:tools/PEBIL into development