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
    55.7 KB · Views: 518
  • REGISTER.PNG
    66.5 KB · Views: 510
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…