added header file and minor fixes in asm