Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!sumax!ole!steven!cac From: cac@steven.COM (cac) Newsgroups: comp.arch Subject: Re: Self-modifying code Summary: exec instructions Message-ID: <105@steven.COM> Date: 12 Oct 89 00:52:55 GMT References: <6481@pt.cs.cmu.edu> <9175@etana.tut.fi> Organization: Sierra Geophysics Inc., Kirkland, Wa. Lines: 21 In article <9175@etana.tut.fi>, pl@etana.tut.fi (Lehtinen Pertti) writes: + I've been lately wondering if there is any architecture + with possibility to execute instruction indirectly. + I think this would provide a way to create 'self-modifying' + code without crashing into cache problems. + I mean something like: + exec r0 ; execute instructio in register r0 + or + exec (r0) ; execute instruction pointed by r0 + Does anyone know? The PDP-15 did, as I recall, and I think the PDP-10 did as well, altho I never did assembly on the 10. > Pertti Lehtinen ! purely offending and in subject -- Charles A. Clinton Disclaim! Disclaim! Sierra Geophysics, Inc. ...!uw-beaver!sumax!ole!steven!cac 11255 Kirkland Way Voice: (206) 822-5200 Telex: 5106016171 Kirkland, WA 98033 USA FAX: (206) 827-3893