× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It was way before the z80 or 4004. At that time you had to chack explicitly, because the hardware had the "carry" but it did not cause an interupt.

That is the reason why in languages like C or Fortran you could add two positive numbers and get a negative result, no warning.

Dennis Lovelady wrote:

Old computers didn't even detect the overflow, so in the old time there
was no overhead.


Really? What computer was that? Even in the z80 (think TRS-80) (and I
think on the 4004, two generations before the 8080) there was a Carry Flag.
And of course, the 360 that preceded it (and probably most other computers
before that) also detected carry or overflow or whatever you want to call
it.

But the point is moot. This is bad practice. As far as I know, the
practice was (thankfully) contained to the IBM Midrange computers (excluding
AIX), and has always been a performance issue.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
You can't have everything. Where would you put it?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.