At 08:10 AM 3/10/2007, you wrote: > When assembling with AVRASM32, you can write: > > ldi r16, byte1(256040); = 0x28 > ldi r17, byte2(256040); = 0xE8 > ldi r18, byte3(256040); = 0x03 hmmm interesting, so how many registers can you fill that way? I guess at least 4 for 32 bits. Perhaps this will carry over to the 8 bits AVRs in the future. 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
Attachments
- No local attachments were found for this message.