[comp.sys.amiga.programmer] about self modifying code

DET1@BNANDP51.BITNET (06/18/91)

        I wonder if this piece of code is considered as self-modifying code :
movea.l 4.W,A6
...
jsr AllocMem(A6)
tst.l d0
beq Failure
move.l d0,MemPlace
... (fill in MemPlace with executable code)
move.l MemPlace,A0
jsr (A0)

 BSS

MemPlace: ds.l 1

        And will this work on cached, big processors ?
        Any help appreciated.

        Jean-Francois Stenuit
        The Lazy Coder

------------********* KISS (keep it simple AND stupid) **********---------
- These words are mine, not those of UCSDpascal's gurus                  -
--------------------------------------------------------------------------