added some prototypes to asm.h