| ??? 09/04/02 16:16 Read: times |
#28573 - RE: selecting a ram location with offset |
try using movx a,@dptr . Before using this command you need to store pc to dptr and add a to dptr. So following few lines will do the task:
. . mov dph,pch mov dpl,pcl add a,dpl mov dpl,a clr a addc a,dph mov dph,a movx a,@dptr . . . |
| Topic | Author | Date |
| selecting a ram location with offset | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
| RE: Andy | 01/01/70 00:00 | |
| RE: Andy | 01/01/70 00:00 | |
| RE: Andy | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
| RE: Andy | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
| the previous one was for Peter Dannegger | 01/01/70 00:00 | |
| RE: selecting a ram location with offset | 01/01/70 00:00 | |
RE: selecting a ram location with offset | 01/01/70 00:00 |



