If you were to call Perl from C, you'd follow the instructions in perlembed labeled "Calling a Perl subroutine from your C program". It should be trivial to convert that to assembler (assuming that's what .asmx is).
Comment on Re: Calling a Perl Module From A .asmx File???