added SAO edge ASM functions