[virtmach] First VM

=?iso-8859-1?Q?Nicol=E1s?= Ojeda =?iso-8859-1?Q?B=E4r?= lojedaortiz@interlink.com.ar
Mon, 13 Nov 2000 22:33:51 -0300


I compiled it and tried it out, and found it quite good .. =].
One thing that I would have done different is the implementation of the
execute loop: instead of a giant switch statement, I would have used a
jump table indexed by opcodes pointing to function pointers implementing
each one of the instruction. These functions would receive a pointer to
a VM structure and modify its registers and data accordingly ...



Tom Fjellstrom wrote:
> Hello again,
> so what does every one think?
> Any improvements that need to be made?
> Did it even compile? :)
> thanks,
> --
> Tom Fjellstrom
> tfjellstrom@home.com
> http://strangesoft.net/