patch for llvm IR and NASM style assembly