or1k: reduce variable scope