initialize register that guards reset for assert checking

Fixes #257.