| ??? 05/28/07 22:23 Read: times |
#139949 - I got MOVC! Responding to: ???'s previous message |
Hi again, I tried to use MOVC, now im undertstanding how it works, will fit my need, thanks for all your help...
About clearing Accumulator before using MOVC, I think is because this: MOV A,@A+DPTR... thinking that A is 0 it will read address 0+dptr and put the value on A, lets think it has read 132, now A=132, if use MOV A,@A+DPTR again, it will read address 132+DPTR, if this isnt wanted i will got a buggy program. Its right? But now, I became interested in MCU writing itself code memory, Can AT89S52 do this? Can someone helpme or say where can I get this information? Thanks again. |
| 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 |



