| ??? 04/07/02 17:57 Read: times |
#21519 - Spread Sheet in 8052 for quick table. |
Hi,
I have to code a spread sheet into 8052. It has around 100 values to be coded in table. Each table value has to be called against a specific value of an input. Say if input is X then get value Y with MOVC. Subsequently for every X+n input value I have to retrieve Y+n from the table. Question: I think that I will have to make 100 comparisions of input X to get the correct correspoinding value of Y from the table. Somebody, may be Jay had suggested in the topic search, a binary search to cut down comparison time. But that will only save the comparison time and the actual number of comparative statements has to be equal to the number of data in the table. 100 values of Y in table then 100 times one got to test the value of input X as to which Y it corresponds. Any short cut methods... Simon |
| Topic | Author | Date |
| Spread Sheet in 8052 for quick table. | 01/01/70 00:00 | |
| RE: Spread Sheet in 8052 for quick table. | 01/01/70 00:00 | |
| RE: Spread Sheet in 8052 for quick table. | 01/01/70 00:00 | |
| RE: Spread Sheet in 8052 for quick table. | 01/01/70 00:00 | |
| RE: Spread Sheet in 8052 for quick table. | 01/01/70 00:00 | |
RE: Spread Sheet in 8052 for quick table. | 01/01/70 00:00 |



