Stupid register comparison