Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.arch Subject: Re: A simple question on RISC Message-ID: <464@auspex.UUCP> Date: 17 Nov 88 16:57:08 GMT References: <6544@xanth.cs.odu.edu> <75577@sun.uucp> <1618@imagine.PAWL.RPI.EDU> <419@augean.OZ> <392@ksr.UUCP> <7723@aw.sei.cmu.edu> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 10 >As an aside, the instruction doesn't even work. It implements an add, >compare and branch at the bottom of the loop. The only language that >defines a FOR loop that is always executed at least once is Fortran, It's interesting to note that Fortran 66 didn't, as I remember, explicitly say that DO-loops were one-trip; they just all happened to be implemented that way. Fortran 77 explicitly said that they were *zero*-trip; I seem to remember somebody from DEC arguing that they should be one-trip, but fortunately the F77 committee didn't listen to him....