2

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.