home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.arch:10479 comp.lang.misc:3533
- Path: sparky!uunet!gatech!news.byu.edu!hamblin.math.byu.edu!sol.ctr.columbia.edu!caen!sdd.hp.com!cs.utexas.edu!natinst.com!news.dell.com!fisher.com!turtle.fisher.com!ferris
- From: ferris@turtle.fisher.com
- Newsgroups: comp.arch,comp.lang.misc
- Subject: <None>
- Message-ID: <1992Nov6.111616.109@turtle.fisher.com>
- Date: 6 Nov 92 11:16:15 CDT
- References: <BwJ4uz.1rA@rice.edu> <1992Oct23.004313.29196@ntuix.ntu.ac.sg> <1992Oct29.153514.22927@yrloc.ipsa.reuter.COM> <BwxsF6.3DF@mentor.cc.purdue.edu>
- Organization: Fisher Controls International, Austin, TX
- Lines: 31
-
- Since this discussion is posted in comp.architecture shouldn't we be
- discussing the possibility of a goto-less object code?
-
- I believe that it is possible at the micro-code level but not at the
- machine level. However, I can envision something like:
-
- SET FLAG TO VALUE
- INTerrupt
- ...
- ...
- :INTerrupt address
- DO CASE
- CASE FLAG 1
- PROCESS
- CASE FLAG 2
- PROCESS
- CASE FLAG N
- ...
-
- The INTerrupt command could be used to cause case-type processing
- based on a flag setting.
-
- Now, can anyone suggest a reason for implementing a goto-less processor?
- Isn't the reason for goto-less code to eliminate the programmer's
- tendency to create indecipherable code? Why would anyone in their
- right mind implement a goto-less CPU?
-
- Jeff
-
-
-
-