Add asm level functions