updated flags/registers to match new hardware