Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Another thread already exists on this topic

???
06/01/06 14:01
Modified:
  06/01/06 14:02

Read: times


 
#117506 - Look up table
Responding to: ???'s previous message
Karan said:
I want to know how the seven segment display works.

There's another thread already discussing that.

Karan said:
...also whats the real concept of lookup tables whay they are used ?

Assume you need to fabricate the rounded integer value of square root of numbers between 0 and 255. Then, you can either calculate it mathematically or you can store the result in a look up table. So, reserve a 256 Byte wide area in memory space, where at address "0" "0" is stored, at address "1" "1" is stored, at address "2" "1" is stored, ... and at address "255" "16" is stored.

So, the argument of this "calculation" is the address of look up table and the stored value at this address is the result.

Kai

List of 9 messages in thread
TopicAuthorDate
how the stuff works ...???            01/01/70 00:00      
   there is already a thread on this subjec            01/01/70 00:00      
   Stuff            01/01/70 00:00      
      the problem            01/01/70 00:00      
   Look up table            01/01/70 00:00      
      Previously, on 8052.com            01/01/70 00:00      
         Examples            01/01/70 00:00      
            Fun            01/01/70 00:00      
   www.howstuffworks.com            01/01/70 00:00      

Back to Subject List