[sdiy] self-modifying code was: Re: My latest project
Neil Johnson
neil.johnson97 at ntlworld.com
Thu Feb 18 11:21:04 CET 2010
Hi,
cheater cheater:
> Out of curiosity: how difficult is it to keep program data in RAM?
If its Harvard then you cannot execute code in data RAM. The ARM-based micros (e..g NXP family) are VonNeumann so you can execute from the internal RAM, which is handy during development (fast run-debug-reload cycle).
> And similarly.. how does SMC work with FPGA's and its family? Is it
> even possible?
Depends on what memory architecture you implement. Its possible - pretty much anything is if in FPGA.
Bit seriously, avoid self-modufying code if you can - its a bugger to debug, has performance penalties, has a range of interesting and subtle gotchas, and there are a lot of other less risky approaches.
Neil
--
http://www.njohnson.co.uk
More information about the Synth-diy
mailing list