refactor asm

constants for registers, methods supporting parameters instead of
receiving a string