avr-libc-dev
[Top][All Lists]
Advanced

[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: Wed, 16 Mar 2005 14:05:34 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.2 (like Gecko)

Follow-up Comment #5, task #3693 (project avr-libc):

OK, datasheet is wrong, below is the response from Atmel:



1. Only mega256x push 3 bytes on the stack. mega640 and mega128x push 2 bytes
like previous devices.



2. The byte order for mega256x is the same as for other parts.



call:

(SP) <- low byte

(SP-1) <- high byte

(SP-2) <- extended byte



ret:

(SP+1) -> extended byte

(SP+2) -> high byte

(SP+3) -> low byte



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?func=detailitem&item_id=3693>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]