added breg switch to initialize registers to base offset