home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.larc.nasa.gov!grissom.larc.nasa.gov!kludge
- From: kludge@grissom.larc.nasa.gov (Scott Dorsey)
- Newsgroups: comp.arch
- Subject: Re: MINIMUM instruction set
- Date: 13 Nov 1992 00:10:57 GMT
- Organization: NASA Langley Research Center and Reptile Farm
- Lines: 16
- Message-ID: <1durqhINN3di@rave.larc.nasa.gov>
- References: <1992Nov10.235849.19192@fcom.cc.utah.edu> <pete.180021.12Nov92@sst.icl.co.uk>
- NNTP-Posting-Host: grissom.larc.nasa.gov
-
- Val Kartchner writes:
- > I've heard that it is possible to implement all programming languages with
- > seven instructions. (Possible does not mean practicle.) Does anyone know
- > what these instructions are? Is it possible to do all operations in less
- > than seven instructions?
-
- Well, it's certainly practical. The PDP-8, for example, had a total of
- seven instructions, and while it wasn't any speed demon and wasn't the
- best machine to program that I can think of, it worked and plenty of them
- were sold.
-
- It's possible to build a machine with a single instruction (subtract and
- skip if equal), but definitely not practical. I believe a student at U.
- Waterloo actually constructed one as a class project; it was not very
- useful though it was Turing-machine equivalent.
- --scott
-