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 BTW the data sheet I used to check the atiny15L instruction set was downloaded from: http://www.atmel.com/atmel/acrobat/doc1187.pdf And the version of avrstudio I'm using is 3.51. regards, carl At 11:31 AM 2/16/2002, you wrote: >Hi Listfolks, > >I'm new on the [AVR] list, and I haven't been able to find anything >about this on-line, so please forgive me (and point me to some help) if >this has become a tiresome topic. I can't imagine I am alone with this >problem! > >I am wrapping up a design based on the ATtiny15L. I am absolutely at >the end of my rope on the LOUSY documentation ATMEL provides for this >processor. > >I just burned up about 15 hours discovering that 'st Z+, Rd' is not a >legal instruction, although it will compile and simulate just fine on >ATMEL's development system (ya gotta 'st Z, Rd', then 'inc ZL'). >Further, if you look at the part-specific instructions on the HTML help >files, the 'st' and 'ld' instructions give examples using the X pointer, >not the Z pointer. As far as I can tell, there is no X or Y pointer on >the 15L. There is only 2 times that the phrase 'Z pointer' comes up in >the data sheet. AAAAAAARRRRRRRRRRRRGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHH! > >Does anyone know where I can get an _accurate_ instruction set reference >for the 15L? > >Thanks, Lyle > > > >____________________________________________ > >Lyle Killough lyle@suregripcontrols.com >____________________________________________ > > Sure Grip Controls Inc. > 4 - 1413 McGill Road > Kamloops, BC, V2C 6K7 > Canada > > phone 250-374-2278 > fax 250-374-1099 > >____________________________________________ > > www.suregripcontrols.com >____________________________________________ carl -------------------------------------------------------- Henry Carl Ott N2RVQ carlott@si.rr.com http://users.rcn.com/carlott/ -------------------------------------------------------- Non calor sed umor est qui nobis incommodat. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads