He wants to move it to a asm file. There is no inline in asm files. I recommend googling, there's tons of info on the subject. I think there's even a section on avisynth.nl.
Edit1:
Here is the page on the wiki.
Edit2: Also, look at the code of plugins with external ASM modules.