At 09:29 AM 27/12/2006, you wrote: > ld r31, 0xff ; load 255 into temp register That should be LDI (load immediate). ld is only used with index registers. ie ld r31,z ;load r31 from **RAM** location pointed to by Z. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Email: john@ampertronics.com.au Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ********************************************************
Message
Re: [AVR-Chat] illegal registers?
2006-12-26 by John Samperi