RE: LZ: How to do self-modifying code?


[Prev][Next][Index][Thread]

RE: LZ: How to do self-modifying code?



Wouldn't it be like using ld to set an address for a call to be executed later 
on? (That's not very hard at all. My ScrCap2 uses that technique.) By the way, 
the ALLZ80.somethingorother from that compiler that runs on the calc has 
everything, so you could just copy opcodes out of there.
--MZB


----------
From: 	owner-list-zshell@lists.ticalc.org on behalf of Rob Taylor
Sent: 	Friday, August 30, 1996 11:16 AM
To: 	list-zshell@lists.ticalc.org
Subject: 	Re: LZ: How to do self-modifying code?




> 
> That's not really self-modifying code.  If you don't know what your'e 
> doing you can really mess up using self-modifying code.  It can be fun, 
> but you have to know the opcodes well.  What your'e doing does not require 
> it, and I would definatlly not recommend it with your prob at hand.
>
just to expain this: teh standard usage of 'self modifying code' is 
code which modifys instructions that are to executed. It has been used 
here in the context of modifing data within your code, which is 
totally different...


 




Rob Taylor MAIL - mailto:rtaylor@ticalc.org 
           WEB  - http://www.u-net.com/~rtaylor/