At 07:52 AM 3/10/2007, you wrote: >R25 is a 32 bit register, Since when? All registers are 8 bits. You need to load R25 and then R26 with 8 bits. Anyway 256040 is larger than 16 bits. 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] ldi instruction failing
2007-10-02 by John Samperi