AVR microcontrollers: Difference between revisions

Content deleted Content added
Kelly Martin (talk | contribs)
Kelly Martin (talk | contribs)
m rearranged somewhat to remove partial duplication
Line 9:
Atmel's AVR controllers have a pipeline with 2 stages (fetch and execute) that allows them to execute most instructions in 1 clock, which makes them relatively fast among the 8-bit controllers on the market.
 
The [[AVR instruction set]] is more regular than that of many other 8-bit microcontrollers ([[PIC microcontroller|PIC]] for example). However, it is not strictly orthogonal: pointer registers X, Y, Z have different addressing capabilities, and the same with Register File and IO File locations, .
 
Like the PIC, it has a dedicated [[hobby]]ist following (exemplified by the ''AVRFreaks'' Internet forum), largely due to the existence of inexpensive/free development tools, for instance a port of the GNU [[GNU Compiler Collection|GCC]] tools.
 
The acronym '''AVR''' has been reported/rumoured to stand for '''''A'''dvanced '''V'''irtual '''R'''ISC'' and/or the initials of the two company founders—'''A'''lf Egil Bogen and '''V'''egard Wollan—who for their part have chosen to let the matter rest unresolved, giving mostly shadowy answers when asked directly.
 
Even though the AVR instruction set is relatively regular, it is not orthogonal:
* [[Pointer register]]s X, Y, and Z have addressing capabilities that are different from each other.
* [[Register file]] locations 0...15 have different addressing capabilities than register file locations 16...31.
Line 21 ⟶ 15:
* CLR affects flags, while SER does not, even though they seem to be complementary intructions (set all bits to 0 and respectively to 1).
* opcodes 0x95C8 and 0x9004 do exactly the same thing (LPM).
 
 
Like the PIC, it has a dedicated [[hobby]]ist following (exemplified by the ''AVRFreaks'' Internet forum), largely due to the existence of inexpensive/free development tools, for instance a port of the GNU [[GNU Compiler Collection|GCC]] tools.
 
The acronym '''AVR''' has been reported/rumoured to stand for '''''A'''dvanced '''V'''irtual '''R'''ISC'' and/or the initials of the two company founders—'''A'''lf Egil Bogen and '''V'''egard Wollan—who for their part have chosen to let the matter rest unresolved, giving mostly shadowy answers when asked directly.
 
== External links ==