David Brown wrote:
But, you're not required to use it that way.  If you had a calling
convention that didn't use a stack, for example, you could use it as an
ordinary general purpose register.

I kind of liked the Xerox 560, where you had stack pointers in memory, along with a "used count" and a "free count", and you could have the processor trap (or set condition bits) on stack overflow, stack underflow, stack just got pushed into the highest allocated page of memory, and stack just got popped out of the highest allocated page of memory.

A nice processor for its time.

--
  Darren New / San Diego, CA, USA (PST)
    It's not feature creep if you put it
    at the end and adjust the release date.

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

Reply via email to