??? 12/18/06 23:32 Read: times |
#129703 - In response to Hans Responding to: ???'s previous message |
Hi Hans,
Thanks a lot for the info! I just wanted to make sure that there's no way around doing the addition or loop of incs. Your addition routine makes good sense. I assume that if I write to dph/dpl then the dptr moves automatically so that I don't need to then do a mov dptr, #blahblahblah? Anyway, thanks so much for your reply, that helps a lot! Just a quick question then...when you do: add a, dpl and that operation producs a carry, the carry bit is set until you clear it or another operation clears it? The addc a, dph operation (just to be sure) will add the contents of dph and the current value of the carry bit to the accumulator? Thank you very much for your help... I particularly like the last method you use to get rid of the addc! Thanks for your help. D |
Topic | Author | Date |
newbie: offsetting the dptr | 01/01/70 00:00 | |
additional info | 01/01/70 00:00 | |
do you have external data memory at all? | 01/01/70 00:00 | |
Exteranal or Internal RAM | 01/01/70 00:00 | |
In response to Jan and Neil | 01/01/70 00:00 | |
MOVX @DPTR,A | 01/01/70 00:00 | |
In response to Jon | 01/01/70 00:00 | |
Indexing | 01/01/70 00:00 | |
In response to Hans | 01/01/70 00:00 | |
Indexing | 01/01/70 00:00 | |
In response to Hans | 01/01/70 00:00 | |
the reason is | 01/01/70 00:00 | |
In response to Russell | 01/01/70 00:00 | |
Be careful who you listen to! | 01/01/70 00:00 | |
movx a,@dptr | 01/01/70 00:00 | |
In response to Neil | 01/01/70 00:00 | |
It Adds | 01/01/70 00:00 | |
?????? | 01/01/70 00:00 | |
oopps no | 01/01/70 00:00 | |
error | 01/01/70 00:00 | |
error | 01/01/70 00:00 | |
movx/movc![]() | 01/01/70 00:00 |