嵌入式虚拟机CarpVM.zip
CarpVM是一个用C语言编写的小型虚拟机。可以嵌入在应用程序中使用。
包含的指令集有:
HALT(code):Haltsandattemptstocleanupstack,datamemory,andlabelmemorybeforeexitingwithgivenexitcode.
NOP():Doesnothing.Seriously.
LOAD(reg,val):Loadsgivenintegervalueintogivenregister.
MOV(dst,src):Copiescontents
下载地址
用户评论