Lets say I have 8 variables, each one Byte, named B1, B2, ... B8 and I want to write them into the first GPR howdo I address the GPR and which instruction do I use to write (or read) thank you for your help Lembit ----- Original Message ----- = From: "Jan-Erik S=F6derholm XA (TN/PAC)" To: "Microcontroller discussion list - Public." Sent: Tuesday, September 05, 2006 1:34 PM Subject: RE: [PIC] MPASM - table write problem 18F4520 > Close to *all* instructions read/write GPRs. > I've no idea what your problem is. > Could you be more specific ? > > Regards, > Jan-Erik. > > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf > Of Lembit Soobik > Sent: den 5 september 2006 12:52 > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] MPASM - table write problem 18F4520 > > > sorry, if I am using the wrong expressions, I'm pretty new to PICs. > I guess you call it Data Memory. > The18F4520 has 1536 bytes of SRAM and 256 bytes of EEPROM. > I want to read/write the SRAM, not the EEPROM and not the Flash Memory > (program memory part) > > Lembit > > ----- Original Message ----- = > From: "Jan-Erik Soderholm" > To: > Sent: Tuesday, September 05, 2006 12:18 PM > Subject: RE: [PIC] MPASM - table write problem 18F4520 > > >> Lembit Soobik wrote : >> >>> I intended to write and read the static RAM. >>> Is there a sample code snippet somewhere >>> how to read/write static RAM? >> >> What is "static RAM" ?? >> >> Jan-Erik. >> >> >> >> -- = >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >> >> -- = >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.405 / Virus Database: 268.11.7/437 - Release Date: = >> 04.09.2006 >> >> > > -- = > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > -- = > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > > -- = > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.11.7/437 - Release Date: 04.09.2006 > > = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist