On Wed, Jan 23, 2008 at 12:09:59AM -0800, Bob La Quey wrote:

Once you get used to stack based computing then it is the
case that one looks at a register based instruction set and
says, "An interesting exercise is to look at the instruction
set encoding and see if you can figure out how to represent
even a single useful instruction."

Actually, my comment was more on what is missing on the webpage I gave.  It
just gives the encoding of the instructions, and omits the part of the
documentation that describes the actual instructions.

Most of the instructions map from 1-2 forth words, the DONE that ';'
compile almost always being folded into an instruction.  Lots of common
sequences that involve a stack operation followed by an arithmetic
operation are folded together.

It really is a strange CPU.

Dave

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to