Then, isn't there a solution to make the code smaller ? I need to use vectors, but would like another sort of addressing... Lucian -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of piclist@XARGS.COM Sent: 9 martie 2004 19:45 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC:] Fixed Address for Variables in HT-PIC ? On Tue, 9 Mar 2004, Lucian wrote: > when I write > > vector[counter], > > I observed that this takes a big amount of code space and I would like > to write something like this > > MyStruct vector[VECTOR_SIZE] at vector_address; > Vector_adress + 8*counter = value; That isn't going to make your code smaller; the compiler is already doing this for you. -- John W. Temples, III -- 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.