Hi wouter, I think you didn't explain my problem correctly. I am trying to locate in m= y .hex file (I have used gpasm) the code that corresponds to directives, ma= cros, include file and definitions. since I will flash my hex file to my (future) pic programmer into its progr= am and data memory. I can't figure out how to deal with this issue. I know that the program mem= ory starts always by OXO. "starts at 0x2100 IIRC" what do you mean by this? I think that data memory are 8 bits (not 14 bits) and program memory are 14= bits (correct me if i am wrong). thanks in advance best regards, = Message: 84 Date: Mon, 25 Sep 2006 13:36:53 +0200 From: "Wouter van Ooijen" Subject: RE: [PIC] about pic programmer To: "'Microcontroller discussion list - Public.'" Message-ID: <001901c6e096$e6946940$0b00a8c0@PAARD> Content-Type: text/plain; charset=3D"iso-8859-1" > I still have a question about the pic programmer: = *the* PIC programmer? are you trying to start a flame war? > there is = > two command load data for program or data memory, but in the = > hex file how can we distinguish data memory from program memory. by the addresses. prog mem is 0..upper-limit, data (on 14-bit cores) starts at 0x2100 IIRC. Probably mentioned either in the programming specs or in the MPLAB assembler help. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu Mustapha ELKEJBOUT --------------------------------------- "Every one has to do what he can do according to how it can be truly done" For whom the bell tolls, Ernest Hemingway. = --------------------------------- D=E9couvrez un nouveau moyen de poser toutes vos questions quelque soit le= sujet ! Yahoo! Questions/R=E9ponses pour partager vos connaissances, vos o= pinions et vos exp=E9riences. Cliquez ici. = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist