the power of function pointers for stuff like this is quite enormous. making a vm like this is great practice for a real compiler too... :)
i'm curious though, why it isn't a direct copy of x86? other than the obvious 'thats really complicated' it would save a lot of wheel reinventing...
the power of function pointers for stuff like this is quite enormous. making a vm like this is great practice for a real compiler too... :)
i'm curious though, why it isn't a direct copy of x86? other than the obvious 'thats really complicated' it would save a lot of wheel reinventing...