Darren New wrote:
Andrew Lentvorski wrote:
How about a trampoline? Place a jump instruction into RAM and always
jump there and then it jumps to where you want to go.
Works good, if you were allowed to run code out of writable memory. :-)
Also, is PC not modifiable? Normally there is a "Put into PC register".
No. That's the point. The chip had nothing but absolute immeidate
addresses for jumps, and wouldn't load instructions out of writable memory.
Yes, there really are architectures that can't run C. :-)
Oh, I believe that. I'm just wondering how useful that architecture is
and how *old* it is. We're talking, what, a 4004? That probably fits
your definitions (Harvard architecture with no indirect).
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg