# AVR registers location

There are four types of registers in AVR.

1. $r_0$ - $r_{15}$ witch used for CPU's calculations.
2. $r_{16}$ - $r_{31}$ witch used for user's temporary data storage.
3. Registers for I/O statements.
4. And control flags registers.

Are all of these Registers placed in SRAM?

P.N:I am learning AVR micro-controllers. In a learning video told that these registers are separated with SRAM. I thought that SRAM is a block that contains all registers. Because I think the nature of these registers are same. And can be packed in one register block.

• Why did you ask it? What is the usage of this question? is it matter? – Roh Nov 14 '13 at 8:33
• It is quite possible that these registers are implemented in an sram in the part. but that doesnt mean that sram or other srams in the part are on the memory bus. It is just cheaper sometimes to implement a good sized quantity of flip flops in an sram rather than discrete transistors or flip flops... – old_timer Nov 16 '13 at 14:21