start adding routines to read system registers, stub out some exceptions