Hi, Quentin asked: >> When I do a string: >> data "Hello world" >> and read it with table read, I get all values fine. >> But when I do numbers: >> data 0x020, 0x030, 0x048, ;....etc. >> and read it with table read, I will get: 0x0, 0x020, 0x0, 0x030, 0x0, >> 0x048, etc. >> Obviously I am reading the upper (?) word at the address as zero. Why is >> it so and not used as with the ascii string? >> >> How should I do it then? To which Scott replied: > use "db" instead of "data" This is correct, also beware of that there might be some quirks, with data aligning depending on mplab version and used pic. I.e. after one line like: DB 0xAA,0xBB,0xFF..... If the number of bytes are not even then mplab *might* add one zero byte to 'pad' the data to be even, this i know for a fact on some version of the mplab and using the 18xxx chips. Seems to=20 be related to the 16 bit word adressing mode. /Tony -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads