Article View: comp.arch
Article #2835Bootstrapping, was Self-modifying code
From: Allen J. Baum
Date: Wed, 25 Oct 1989 22:27
Date: Wed, 25 Oct 1989 22:27
11 lines
967 bytes
967 bytes
[]
I once built a machine that had, as instruction 0x00, push i/o device 0 onto
the stack. The stack ran backwards. Bootstrapping started by clearing out
memory, and initializing the stack point and PC. The processor proceeded to
execute all zero instructions, which read bootstrapping code from the I/O
device and pushed it onto the stack. The PC continued to be incremented, the
stack continued to be decremented, and when the met, you took off. In
hindsight, of course, it would havebeen easier if the stack ran forward.
--
baum@apple.com (408)974-3385
{decwrl,hplabs}!amdahl!apple!baum
Technical Details
Message-ID:
<35922@apple.Apple.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!baumShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!baum From: baum@Apple.COM (Allen J. Baum) Newsgroups: comp.arch Subject: Bootstrapping, was Self-modifying code Message-ID: <35922@apple.Apple.COM> Date: 25 Oct 89 22:27:06 GMT Reply-To: baum@apple.UUCP (Allen Baum) Organization: Apple Computer, Inc. Lines: 11