home *** CD-ROM | disk | FTP | other *** search
- Organization: Robotics Institute, Carnegie Mellon, Pittsburgh, PA
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!jb7m+
- Newsgroups: comp.arch
- Message-ID: <4f0IQEm00WD5IXXKNc@andrew.cmu.edu>
- Date: Wed, 11 Nov 1992 12:46:56 -0500
- From: "Jon C. R. Bennett" <jb7m+@andrew.cmu.edu>
- Subject: Re: MINIMUM instruction set
- In-Reply-To: <1992Nov11.144304.10494@news.uiowa.edu>
- References: <1992Nov10.235849.19192@fcom.cc.utah.edu>
- <1992Nov11.144304.10494@news.uiowa.edu>
- Lines: 30
-
- jones@pyrite.cs.uiowa.edu (Douglas W.Jones,201H MLH,3193350740,31933828 writes:
- > From article <1992Nov10.235849.19192@fcom.cc.utah.edu>, by val@news.ccutah.edu\
- > (Val Kartchner):
- > > I've heard that it is possible to implement all programming languages with
- > > seven instructions.
- >
- > What is an instruction? Ignoring I/O, the following CISC instruction does
- > the job:
- >
- > DB <op1> <op2> <op3>
- > Decrement <op1> by <op2> and branch to <op3> if the result
- > is less than zero. All operand fields address memory.
-
- i think that perhaps a better question, and one which i think you almost
- answered is, "How many operations are needed...."
- the instructions that you present do the following
-
- load
- store
- subtract
- compare
- branch
-
- the only things i can think of that are missing are
-
- shift
- bit op (and,or,xor)
-
-
- jon
-