You would need to rewrite the asm parts into plain, vanilla C. Even if you managed to compile it without the asm, it most probably wouldn't work. It's like saying, "Hmm.. I wanna drive my car without using the rubber fanbelt..." - It would be possible, but you would have to replace the fanbelt with an alternative onject that did the same job, like a big elastic band (!). Find out what the original asm code did, then write replacements in C. The assembler is there for a reason

, compiling the C code alone wouldn't do much when run on the target platform, even if it did execute. I think this is what you're trying to ask.
BTW What platform are you trying to port to?