Does the avr 32 bit have similar instruction set from 8bit or atleast borrowed some? Is it a completely different microcontroller…I was thinking of learning arm if this was the case.I really want to know so atleast I would get to know if I will continue with avr 32 bit and learn arm later.
Electrical – avr 8 bit vs 32 bit instruction set
microcontroller
Best Answer
Pretty much no, they are not the same.
From the AVR32 instruction set documentation (emphasis mine):
In other words, code for the AVRs will not work on AVR32 processors, the instruction set is different.
While some of the mnemonics for instructions (e.g.
ADD
,ADC
, etc.) look similar, but the instructions have different parameters, different registers, and differing behaviour.However if you are using GCC or some other compiler, then as long as it supports the device, you shouldn't notice a difference if you program in C. If you are working in assembler, the instruction set will probably feel familiar, but it isn't the same.