Minor refactoring of asmSin module.