[virtmach] first VM.

=?iso-8859-1?Q?Nicol=E1s?= Ojeda =?iso-8859-1?Q?B=E4r?= lojedaortiz@interlink.com.ar
Thu, 09 Nov 2000 20:49:21 -0300


Hi!

I would love to see your source. I am a newbie in VM writing myself, so
I would very much appreciate seeing your design and maybe commenting it ...

Best regards,
Nicolás

Tom Fjellstrom wrote:
> 
> 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/