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.
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 ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.