Re: A83: (Unsquish) HEXtoASCII routine (Not checked)
[Prev][Next][Index][Thread]
Re: A83: (Unsquish) HEXtoASCII routine (Not checked)
Heh...
As I say repeatedly, I'm usually wrong when it comes to matters like this.
--David
> You are going about this totally wrong... To make a table would be
> massive... 256 + 2(256) = 818 byte table, way too ineffecient anyways.
> How bout you do this, turn off the last 4 bits (%0000????) and get the
> for 0 through F. Get the original value again, turn off the first 4 bits
> (%????0000) and then rrd (4 bit shift) then do the same thing. Duh...
> hehe, the code may not be correct but I think it is a good start, it is
> pretty sloppy (lots of push/pops) but since I just threw it together,
> but it has its merit