Fix asm-required issue in addAsm