Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

atmega memory organisation

Status
Not open for further replies.

t.man

New Member
Just out of interest, can anyone tell me how the register files and I/O memory space is implemeneted, and how addressing of these is handled by the controller.

looking at the attachment, there are other I/O locations which have same address as the register file. from what i've learned so far is that, to address the register file we normally use the name, i.e. r1 for register 1.

for example,
Code:
out $12, r18 ;load PORTD with R18 contents

is this equivalent to:
Code:
out $12, $12

is this entirely depend on the instruction formart?
 

Attachments

  • MEGA.PNG
    MEGA.PNG
    55.7 KB · Views: 507
  • REGISTER.PNG
    REGISTER.PNG
    66.5 KB · Views: 495
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top