Keep DAA! (was Re: 8086 bugs)

der Mouse mouse at Rodents.Montreal.QC.CA
Sun Dec 11 00:26:48 CST 2005


>     ADI  $F6
>     ACI  $0A
[...]
>     SBI  $09
>     SBI  $C5

> I don't think you can get any fewer instructions using this
> algorithm, because you need to adjust the alphanumerics by an offset
> of 7, and you need one extra instruction to set the inital carry flag
> boundary, which makes 8 in total.

Now, how about lowercase hex (a-f instead of A-F)?  Adjusting by 39
instead of 7 would be a sufficient pain that I do not consider this
algorithm suitable.  I have some ideas for other possible algorithms,
but so far that's all they are, ideas; they may end up not working.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse at rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


More information about the cctalk mailing list