Differences between revisions 1 and 2
Revision 1 as of 2004-12-14 05:21:38
Size: 525
Editor: hoxide
Comment:
Revision 2 as of 2009-12-25 07:14:57
Size: 525
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
-- hoxide [[[DateTime(2004-12-14T05:21:38Z)]]]
[[TableOfContents]]
-- hoxide [<<DateTime(2004-12-14T05:21:38Z)>>]
<<TableOfContents>>

含有章节索引的中文 文章模板

-- hoxide [2004-12-14 05:21:38]

ilasm

例子

hello world

.module hello.exe
.assembly extern mscorlib {}
.assembly hello {}
.method static public void main() cil managed
{ .entrypoint
.maxstack 1
ldstr "\tWelcom to the CLI World!\nGood Luck!\n"
call void [mscorlib]System.Console::WriteLine(class System.String)
ret
}

编译: ilasm hello.masm, 生成hello.exe, 直接执行之.

ilasm (last edited 2009-12-25 07:14:57 by localhost)