Thanks for the feedback Carl. I also agree that the instruction set summary at the end of the 15L data sheet excludes X and Y, but if you look under the Help file of AVR Studio, (I'm using 3.52), under the _device-specific_ instruction set for the ATtiny15L, there is no mention or example of the Z pointer for LD or ST, but it does cover LD/ST X/X+/-X, which is clearly an error. I erroneously believed that the device-specific instruction set in the help file is truly device-specific. (I'd love to be able to print the instruction set, not just the summary, so I can scribble all over the things that are not true.) All of the moaning aside, this is the core of a new product line, and there will be other issues down the road. I am still looking for reliable reference material on the ATtiny processor family. Anyone know of any books? Lyle > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of H. Carl Ott > Sent: February 16, 2002 12:39 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [AVR]: 15L datasheet and instruction set frustration > > > Hi Lyle, > First off, I've never done anything with the 15L. > > The 15L complete data sheet downloaded from the atmel web > site, clearly shows that there are no x or y pointers. And > the instruction set summery at the end of the data sheet does > not show any z+ instruction. > > The generic instruction set that is part of the assembler > documentation shows the instruction set for the entire AVR > processor family. And yes I've been bit by trying to use an > instruction that was not implemented on the particular > processor I was using. But it should generate an error. > > There does appear to be an error in the assembler regarding the 15l > A couple of quick tests with the following test code. > > .device ATtiny15 > .CSEG > st z+,r16 > > does not generate an unsupported command error > > If we change the device to ATiny11 or 12, it does generate an > error ATiny28 does not generate an error. > > Something is wrong here. > > Not too much help, but I might also suggest the forums over > at avrfreaks for additional on-line help and support. > http://www.avrfreaks.com > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads