A virtual machine source code (Win32), version to demonstrate how to run a virtual machine and to explain the instructions.
File list:
win32
....\bin
....\...\filedmp.exe
....\...\hashtbl.exe
....\...\hasm.exe
....\...\hecvm.exe
....\...\list.exe
....\...\numfmt.exe
....\...\rawbin.exe
....\...\tree.exe
....\dosdbg
....\......\dosdbg.c
....\......\dosdbg.com
....\......\readme.txt
....\dstruct
....\.......\hashtbl
....\.......\.......\hashtbl.cpp
....\.......\.......\hashtbl.mak
....\.......\list
....\.......\....\list.cpp
....\.......\....\list.mak
....\.......\tree
....\.......\....\tree.cpp
....\.......\....\tree.mak
....\hasm
....\....\testapps
....\....\........\alloc.asm
....\....\........\alloc.RUN
....\....\........\bldapps.bat
....\....\........\cmdline.asm
....\....\........\cmdline.RUN
....\....\........\fileIO.asm
....\....\........\fileIO.RUN
....\....\........\filemgmt.asm
....\....\........\filemgmt.RUN
....\....\........\ipc1.asm
....\....\........\ipc1.RUN
....\....\........\ipc2.asm
....\....\........\ipc2.RUN
....\....\........\ipc3.asm
....\....\........\ipc3.RUN
....\....\........\ipc4.asm
....\....\........\ipc4.RUN
....\....\........\memtest.asm
....\....\........\memtest.RUN
....\....\........\native.asm
....\....\........\native.RUN
....\....\........\procmgmt.asm
....\....\........\procmgmt.RUN
....\....\........\test1.asm
....\....\........\test1.RUN
....\....\........\timedate.asm
....\....\........\timedate.RUN
....\....\........\VM_ERROR_9_9_2001_19_23_18.XML
....\....\bldfile.cpp
....\....\cmdline.cpp
....\....\common.c
....\....\error.c
....\....\exenv.c
....\....\globvar.cpp
....\....\hashtbl.cpp
....\....\hasm.mak
....\....\iset.c
....\....\label.cpp
....\....\linetok.cpp
....\....\lnscan.cpp
....\....\main.cpp
....\....\pass1.cpp
....\....\pass2.cpp
....\....\proc.cpp
....\....\sframe.cpp
....\....\strtbl.cpp
....\....\symtbl.cpp
....\....\win32.c
....\hecvm
....\.....\bitwise.c
....\.....\cmdline.c
....\.....\common.c
....\.....\dbgcmd.c
....\.....\dbgdata.c
....\.....\dblmath.c
....\.....\error.c
....\.....\exenv.c
....\.....\fltmath.c
....\.....\hecvm.mak
....\.....\init.c
....\.....\interupt.c
....\.....\intmath.c
....\.....\intwin32.c
....\.....\iset.c
....\.....\jump.c
....\.....\load.c
....\.....\main.c
....\.....\mem.c
....\.....\move.c
....\.....\pushpop.c
....\.....\reformat.c
....\.....\run.c
....\.....\shift.c
....\.....\store.c
....\.....\win32.c
....\rawbin
....\......\rawbin.c
....\......\rawbin.mak
....\util
....\....\filedmp
....\....\.......\filedmp.c
....\....\.......\filedmp.mak
....\....\numfmt
....\....\......\numfmt.c
....\....\......\numfmt.mak
....\bldall.bat
....\mvbin.bat
....\win32.txt
....\wipe.bat