Updated asm code