摘要:当然这种做法没什么太大的实用价值,但是也蛮有趣。
<%@ Page Language="Asm80386" %><%Str: DB "Testing...", 0
mov eax, -2 cmp eax, 2 jle Label xor eax, eaxLabel: lea esi, Str push esi call "Response.Write(string)" pop esi
%><br>EAX: <%= eax %>
来源:http://home.worldonline.dk/viksoe/asmil.htm
Installation Guide
Edit the install.cmd file so the paths match your system. Then execute it.
Edit your machine.config file and add the following line to the <compilers> XML node.<compiler language="asm80386" extension=".asm" type="Viksoe.ASMIL.AsmScriptCodeProvider, Viksoe.ASMIL" />
Create your aspx pages...
Download Files
ASM script compiler (14 Kb)...[
阅读全文]