Uhhh, "Much Cleaner"??
You're kidding right??
I have to wonder if you've actually read my previous posts.
Uhhh, "Much Cleaner"??
You're kidding right??
I have to wonder if you've actually read my previous posts.
DT
Hey Darrel,
Well I have a huge table with all my values. Great!....but i'm noticing that for some values I store in my table, the program deosn't work. Its really weird....do you think that there might be some memory addressing problems/overwriting program code with the Datatable approach?
Well, I wouldn't think so, but can't really say for sure.
Can you post it, or send it to darrel at pbpgroup.com. I'm sure I can get to the bottom of it.
<br>
DT
Darrel,
I have sent you 2 versions of the code. The e-mail explains the prob.
Nikhil
Big Tables ???
No pwôblem, missiou !!! Use an excel sheet creating a text file ( Retlw xx ...) and some asm ( RETLW ...) lines.
Here are ( simple !!! ) examples
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Since the RETLW method stores 1 byte per instruction which takes 2 bytes.
A table of 1024 words would use 4096 bytes, instead of the 2048 bytes used by the method shown here ...
Using EXT with Labels
http://www.picbasic.co.uk/forum/show...php?t=3891#LAB
If you are using a 16F as the .zip example shows, then RETLW would be better because it can only store 14-bit words, but not for an 18F.
<br>
DT
Hi,Darrel
I think we also must consider the table loading work ... ( humour !!! )
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks