Add flash to register