i wanna to know its posible to load a program that write in arduino ide in a mega32,64,124?
what change shoude be done?,151090.0.html

thx for answer
i means use arduino ide for writing code for mega 32,64,128 like codevision or avr studio.
in another word generated hex code by arduino ide can upload(with any programer) and run on mega32,64,128?
i mean in real how can porting for example mega168 on a mega 32?

i mean how can porting a mega 168 on a mega 32?
register i/o are the same?

in really i want to know how can use arduino ide for writing program for mega32 or mega64?
how can add this micro to ide core support?