Don't know about the PICs, but the Ubicom SX has an IREAD command which reads directly from program memory. -- Mitch -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of McIlvaine, Robert Sent: Wednesday, January 24, 2001 3:27 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: Assembler 101 question... Hi all, You can write the following code in MPASM: org 0x000A data 0x01, 0x02, 0x03, 0x04 When you assemble it, starting at 000A, in code space, you get: 000A 0001 000B 0002 000C 0003 000D 0004 How does one access this data? In other words how does one load the value from code space address 000A into the w register? TIA, Mac -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.