add some asm functions
cosmetic change interrupt code