??? 01/10/08 19:30 Read: times |
#149272 - you could, but Responding to: ???'s previous message |
Which is, effectively, a lookup-table.
In 'C', you could also implement it as a 'switch' Keil has (I can see no reason but to make the optimizer look better) made the 'fast switch' (compiled as jmp @) an optimizer function although it belongs in the compiler. Thus only "implement it as a 'switch'" if your code can handle snailing. ANYHOW Neils lookup table code IS C Erik |
Topic | Author | Date |
How common is 2 Byte ASCII HEX? | 01/01/70 00:00 | |
That is an odd way of looking at is | 01/01/70 00:00 | |
Must not post when tired | 01/01/70 00:00 | |
Correct! | 01/01/70 00:00 | |
Very common indeed! | 01/01/70 00:00 | |
hex_digit_to_ascii | 01/01/70 00:00 | |
optimisation | 01/01/70 00:00 | |
you could, but | 01/01/70 00:00 | |
Widespread | 01/01/70 00:00 | |
ERR Thanks | 01/01/70 00:00 | |
C suggestion | 01/01/70 00:00 | |
and 10 times tougher .. | 01/01/70 00:00 | |
beware | 01/01/70 00:00 | |
C? sorry long post! | 01/01/70 00:00 | |
'C' - not rocket science | 01/01/70 00:00 |