[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-256
From: |
Marek Michalkiewicz |
Subject: |
[avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561 |
Date: |
Tue, 15 Mar 2005 11:13:56 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.2 (like Gecko) |
Follow-up Comment #4, task #3693 (project avr-libc):
According to the datasheet, all these devices (not just 256x - 640/128x too!)
store a 3-byte PC on stack. This means they all need GCC changes (new
architecture) to be supported. Byte order of these 3-byte addresses on stack
is not documented (for 2-byte addresses it was found experimentally to be big
endian - only Atmel knows why, AVR is otherwise little endian), and this
matters for the indirect_jump insn (even if we limit ourselves to 16-bit
pointers, an additional zero byte has to be pushed).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?func=detailitem&item_id=3693>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Marek Michalkiewicz, 2005/03/16