Hi,
Tom Jennings <tomj(a)wps.com> said:
The lowly 8080 had DAA, Decimal Adjust for Addition. If I recall,
it handled "carry" from bit5 (and Cy?) after adding a BCD pair
in A.
The even lowlier SC/MP had DAD (Decimal Add), DAI (Decimal Add Immediate)
and DAE (Decimal Add Extension) instructions. They all add 2-digit
(8-bit) decimal numbers.
--
Cheers,
Stan Barr stanb(a)dial.pipex.com
The future was never like this!