Status Register Code Implemented

There are procedures that should update the Status Registers. If
problems let me know.