??? 05/26/07 10:16 Read: times |
#139864 - Yes Responding to: ???'s previous message |
Chico Magalhães said:
You mean, that, MOVC reads a code memory location as value not as code/command? Yes, you have MOVC @A+DPTR and MOVC @A+ PC Look them up in the Tutorials. Personally I use the @A+DPTR exclusively, but better programmers may not. Never heard about cseg, what is? Code Segment - where the DB statements will exist. Again,assembler specific Every time i go read something i need to clear A, right? THAT depends on how you write your code. To access a table of strings, set DPTR to the string of interest, and then increment the accumulator to read values out of the DB space. Can the MCu write to itself flash memory? By now, i dont need any reservation, since my program will be very small.
Steve |
Topic | Author | Date |
How to store data in 8051/DB command | 01/01/70 00:00 | |
More Detail | 01/01/70 00:00 | |
Data | 01/01/70 00:00 | |
DB | 01/01/70 00:00 | |
1k in db | 01/01/70 00:00 | |
depends | 01/01/70 00:00 | |
starting to understand | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
better? | 01/01/70 00:00 | |
Example ? | 01/01/70 00:00 | |
need... | 01/01/70 00:00 | |
Thats it | 01/01/70 00:00 | |
some answers... | 01/01/70 00:00 | |
I got MOVC! | 01/01/70 00:00 | |
The datasheet is the cuestion | 01/01/70 00:00 | |
store the A contents away... | 01/01/70 00:00 | |
cant debug a problem... | 01/01/70 00:00 | |
First step | 01/01/70 00:00 | |
a skywriter... | 01/01/70 00:00 | |
well, if you copy crap,, you get crap![]() | 01/01/70 00:00 | |
I always thought..... | 01/01/70 00:00 | |
Cant debug, explained + Code | 01/01/70 00:00 | |
I THINK i found the problem | 01/01/70 00:00 | |
Long lines | 01/01/70 00:00 |