[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A bit more on bits...
- From: Francisco Olarte <folarte@...>
- Date: Fri, 17 Feb 2023 12:09:44 +0100
Hi Sean.
On Thu, 16 Feb 2023 at 22:56, Sean Conner <sean@conman.org> wrote:
> > add ax,0x40
> > daa
> > adc ax,0x90
> > daa
>
> Um, aside from using AX (which is from the 8086),
Yep, my fault, is plain A.
> what's so speial about this sequence? Aside from doing a bit of BCD atrithmetic?
Turns an hex digit to ASCII, in a compact way, (ab)using half carries
and overflows.
Francisco Olarte.