DA "packs" the data into 14 bit words (asuming you are using a 16C/F), whereas DT will put it in a table with RETLW XXX. The data then is stored in the lower 8 bytes and RETLW in the upper 6. If you don't use a table lookup you can read the memory space (16F87x) and ignore MEMHI register (contains RETLW). Quentin Kevin Blain wrote: > > Use DT (define table) instead of DA > not quite sure what DA does - it is probably short for DATA, which stores > the data directly. > ----- Original Message ----- > From: Werner Soekoe > To: > Sent: Tuesday, August 29, 2000 8:28 AM > Subject: [PIC]: MPLab - Problem with String Storage > > > > Hi > > > > I'm trying to store strings in program memory, using MP Lab ver 5.11.02. > My > > code contains: > > > > org 0x100 > > DA "This is 16 chars" > > DA "This is also 16 " > > DA "La la la la la " > > > > But when I compile the code, and then look at the Program Memory Window, > > it contains the following, which I assume is not correct, since I expected > a > > bunch of > > retlw instructions: -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu