Doing it better 1999-04-16 c ### > > all the opcodes. What do you want to know? The capabilities of the virtual > > machine, or its construction? > > The former, obviously. > > Construction should be independent of semantics. Obviously, but somebody might want to reimplement my machine. They'd be insane, but they might. I'll see what I can do. I think I'll stick with three pointer-type registers, because it is quite interesting that that is the minimum, but I'll do the integer arithmetic memory-to-memory. Change of subject: I can't find a tidy way to reuse the queue mechanism within the VM I'm afraid. I'll have to do queues using an Agent, because you can't do a FIFO efficiently with linear pointers (you need two pointers to the last buffer). Alistair