| ??? 02/17/04 00:54 Read: times |
#64911 - RE: data table Responding to: ???'s previous message |
ron hathcock wrote:
------------------------------- All help is very appreciated have 2 questions 1 the dptr does not start at zero. how do i se the dptr to zero. MOV DPTR,#0 2 how do i transfer the data that is pointed to on the data table into the accumulator You almost had it. MOV A,#index ;or whatever MOV DPTR,#words ;address of start of words. MOVC A,@DPTR+A ...but bear in mind that the Acc can only hold 0..255 Steve |
| Topic | Author | Date |
| data table | 01/01/70 00:00 | |
| RE: data table | 01/01/70 00:00 | |
RE: data table | 01/01/70 00:00 |



