Clean up asm code
Implement first part of updateAlpha function - not tested!
Implement updateAlphaAsm function