fixed function declaration for ASM