Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how do a program executed in Ram

Status
Not open for further replies.
i think the best thing for you to do is read
the book on computer architecture by moris mano
 

In microcontroller there are two architectures of computer: von newman and havard. In Von Newman architecture data and program code reside in the same memory space so you could easily execute any code which happened to be in RAM. While for Havard architecture which separate the data and program code , the program code always stored in ROM or Flash ROM while the data is in the RAM. It is not very easy to excecute the code in RAM, since the nature of Havard architecture is to execute program code in ROM/Flash ROM. Yet I think we could do it indirectly.
 

If your controller can it, simply load pc (programm counter) with the new ram adress, or make a call and then manipulate the stack, or make a software interrupt or ...

Gomez
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top