On 19/09/2015 14:03, Paul Koning wrote:
On Sep 19,
2015, at 5:25 AM, Rod Smallwood <rodsmallwood52 at btinternet.com> wrote:
Is an overlay self modifyig code?
Yes (#2 in my list), but a controlled kind so it
doesn't suffer from the maintainability issues of explicitly modified instructions.
But it does require I-cache management, if the computer has an I-cache. Not all that
likely; a machine small enough that overlays are valuable isn't all that likely to
have an I-cache.
paul
Its a while back but I seem to remember in BASIC you replaced a set of
line numbers with another of the same range but different code.
Rod
--
Wanted : KDJ11-E M8981
KK8-E M8300
KK8-E M8310
KK8-E M8320
KK8-E M8330