[virtmach] first VM.
Tom Fjellstrom
tfjellstrom@home.com
Thu, 09 Nov 2000 16:41:16 -0700
Hello!
I've just got my first VM working and I woudld like to know
if anyone would like to play with it.
It has 41 instructions, 6 general registers, and a stack.
Not very complex I know but It has an average speed of
4-5 million instructions per second on my p2 400.
(not just a NOOP loop but a MOVL/DIVL/MODL loop...)
The main exicution routine is one big switch statement :)
Is that an acceptable way to do it?
Thanks,
--
Tom Fjellstrom
tfjellstrom@home.com
http://strangesoft.net/