PicChristmas
New Member
Could someone please help me setup a table read using the 18F series pic. I'm using Pic Basic pro and asm. What i am trying to do is take a value 0 to 127 stored in register vTemp and call a lookup table in program memory and have the value pointed by vTemp returned in vTemp.
I have created the table in asm with the
org LevelTable
da 0x0607 .0x1011 ....
And have 64 two byte groups
I need some help withintializing the pointer and reading the data
I have created the table in asm with the
org LevelTable
da 0x0607 .0x1011 ....
And have 64 two byte groups
I need some help withintializing the pointer and reading the data