| ??? 12/25/03 22:13 Read: times |
#61392 - RE: Data processing---248 -> Responding to: ???'s previous message |
hi,
depends on requirements it may be done at more fast way. I mean the lookup table in which each byte is the segment`s image of the corresponded number. By this way, each number from 0 to 255 is collated to tree bytes which are segment images for first, second and third digits. They are placed into lookup table at addresses lookup+number, lookup+number+256 and lookup+number+512. Then you just need to read MOVC A,@A+DPTR for first digit, reload Acc , INC DPH for second one etc. Okay, it takes 768 bytes for segment image array but gives the speed, if need. cu |
| Topic | Author | Date |
| Data processing---248 -> "2", "4 | 01/01/70 00:00 | |
| RE: Data processing---248 -> \\ | 01/01/70 00:00 | |
| RE: Data processing---248 -> \\\\\\\\ | 01/01/70 00:00 | |
| RE: Data processing---248 -> | 01/01/70 00:00 | |
| RE: Data processing---248 -> | 01/01/70 00:00 | |
| RE: Data processing---248 -> \\\\\\\\ | 01/01/70 00:00 | |
RE: Data processing---248 -> \\\\\\\\ | 01/01/70 00:00 |



