Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!BNANDP51.BITNET!DET1 From: DET1@BNANDP51.BITNET Newsgroups: comp.sys.amiga.programmer Subject: about self modifying code Message-ID: Date: 18 Jun 91 09:00:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 25 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 - --------------------------------------------------------------------------