| ??? 08/19/04 08:16 Read: times |
#76154 - RE: DPTR/Lk UpTbl Difficulty: Advice Please? Responding to: ???'s previous message |
hi,
However, if I change MOV DPTR,#STRING1 in "DSPSTRING" section to mov DPL,#00h and mov DPH,#01h along with STRING1 to .ORG 0100h, Generally, for such purposes there is no reason to load DPH and DPL separately. Anyway if you have the reason so I may suggest you to replace it with such way: MOV DPL,#LOW(STRING1) MOV DPH,#HIGH(STRING1)This way you need not with absolute address calculations yourself; all will be done with compiler (here: Keil). Regards, Oleg |
| Topic | Author | Date |
| DPTR/Lk UpTbl Difficulty: Advice Please? | 01/01/70 00:00 | |
| RE: DPTR/Lk UpTbl Difficulty: Advice Ple | 01/01/70 00:00 | |
| Tried those suggestions... | 01/01/70 00:00 | |
| RE: Tried those suggestions... | 01/01/70 00:00 | |
| You missed one! | 01/01/70 00:00 | |
| Reply: You missed one! Andy/Bartosz | 01/01/70 00:00 | |
| RE: DPTR/Lk UpTbl Difficulty: Advice Please? | 01/01/70 00:00 | |
| RE: DPTR/Lk UpTbl Difficulty: Advice Please? | 01/01/70 00:00 | |
| Check the generated code. | 01/01/70 00:00 | |
| RE: DPTR/Lk UpTbl Difficulty: Advice Please? | 01/01/70 00:00 | |
| RE: DPTR/Lk UpTbl Difficulty: Advice Please? | 01/01/70 00:00 | |
<-- Problem Resolved! --> | 01/01/70 00:00 |



