[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560
From: |
Marek Michalkiewicz |
Subject: |
Re: [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561 |
Date: |
Tue, 15 Mar 2005 15:29:29 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
On Tue, Mar 15, 2005 at 03:04:20PM +0100, Bertolt Mildner wrote:
> I was looking at the SP in IAR simulator during a CALL.
>
> SP <- SP-2 for 640/128x
> SP <- SP-3 for 256x
>
> But ok, that doesn't mean all too much as the simulator might be
> wrong.
The datasheet might be wrong just as well - we don't know for sure.
OK, I've just sent 2 questions to address@hidden:
- how many bytes (2 or 3) are pushed by the 640/128x
- what is the order of the 3 bytes on stack
In the meantime (Atmel may take days to respond), could you check the
byte order in the simulator? To make sure they didn't do something
strange in the highest byte (like left-justifying), try it with a CALL
instruction in the upper 128K (so the highest byte is nonzero), at
some funny address like 0x12345 (word) == 0x2468a (byte address) and
tell me what values are on the stack.
Thanks,
Marek
- [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Eric Weddington, 2005/03/08
- [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Marek Michalkiewicz, 2005/03/15
- Re: [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Paul Schlie, 2005/03/15
- Re: [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Jeff Barlow, 2005/03/15
- Re: [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Paul Schlie, 2005/03/15
- Re: [avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Marek Michalkiewicz, 2005/03/15
[avr-libc-dev] [task #3693] Add new devices: mega 640-1280-1281-2560-2561, Marek Michalkiewicz, 2005/03/16