Hardware Resources of AVR Microcontrollers

As noticed in the preface, the AVR microcontroller family is based on a new RISC architecture. In order to optimize code size, performance, and power consumption, the AVR architecture has incorporated a large fast-access register file and fast single-cycle instructions. The fast-access RISC register file consists of 32 general-purpose working resisters. Traditional accumulator-based architectures require large amounts of program code for data transfers between the accumulator and memory. With these 32 working registers—each of which acts as an accumulator—in AVR microcontrollers, these data transfers are eliminated.

The AVR microcontroller prefetches an instruction during the previous instruction ...

Get AVR RISC Microcontroller Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.