1. I want to create a 16 bit lookup table especially at some location.i also want the output to be given to port 3 after computing the i.p ( from port 1 (8-bit) )using the expression o/p=i/p + 100. 2. When i get the i/p data (8-bit data) i as to treat it as the lower byte address of the corresponding computed lookup table value.but i've to do it for a 16 -bit lookup table. 3. After getting a 16 bit address for the lookup table, i've to send the computed o/p value stored in the look up table (16-bit) to the port 3 (8 bit). I need a help.please give me a program for doing such operations. Thanking you, expecting a reply , S.Ramabhadran.( B.Tech )
"expecting a reply" Why do expect people to drop everything to write this code for you? Especially when you haven't even said whether you want 'C' or assembler! How far have you got with your own efforts? What particular part of the problem are you struggling with? Here's a quick overview of lookup tables to get you started: http://www.8052.com/forum/read.phtml?id=22213