Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpvcfs1!johne From: johne@hpvcfs1.HP.COM (John Eaton) Newsgroups: comp.arch Subject: Re: Self-modifying code Message-ID: <1080003@hpvcfs1.HP.COM> Date: 11 Oct 89 21:10:09 GMT References: <1080@mipos3.intel.com> Organization: Hewlett Packard, Vancouver, WA Lines: 15 <<<< < i< What the advantage of using self-modifying code that non-self-modifying code cannot achieve? --------- Job Security... I once traced a problem in some PC software to a bit of SMC that worked on a 8088 but not on a 8086. Turned out that the larger prefetch of an 8086 would grab the old data before the write and use that instead of what the programmer intended. John Eaton !hpvcfs1!johne