why not just use the TBLRD and TBLWT instructions?
for example: (note: untested)
*edit* changed so it saves all 8 IDsCode:VAR i BYTE VAR ID BYTE[8] TBLPTRU=$20 ' Address $200000 TBLPTRH=$00 TBLPTRL=$00 FOR i=0 TO 7 @TBLRD*+ ; Get value and increment the address ID[i]=TABLAT ' Store the ID NEXT i
Bookmarks