[virtmach] first VM.
=?iso-8859-1?Q?Nicol=E1s?= Ojeda =?iso-8859-1?Q?B=E4r?=
Thu, 09 Nov 2000 20:49:21 -0300
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 ...
Tom Fjellstrom wrote:
> 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?
> Tom Fjellstrom