piclist 2004\06\11\170745a >
Thread: Look up Table
www.piclist.com/techref/mems.htm?key=table
flavicon
face BY : Hopkins email (remove spam text)



Thanks again David -

just one point I do not understand and that is how do you know the
Table_Offset value or how do you know just were the table is located in
memory?

*************************************************
Roy Hopkins   :-)

Tauranga
New Zealand
*************************************************
> >How do you program a lookup table in an AVR (ATMega 8) using assembler
code?
>
> Assuming two regs named TEMP, TEMP2, and a ram var called Table_Offset
with the pointer to the position in the table:
{Quote hidden}

an odd number of bytes long.
{Quote hidden}

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.703 / Virus Database: 459 - Release Date: 10/06/2004

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

<001001c44ff8$18d284f0$0000fea9@Roy> 7bit

See also: www.piclist.com/techref/mems.htm?key=table
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Look up Table

month overview.

new search...