Sender: nate AT cartsys DOT com Message-ID: <36DC98ED.E73A4D05@cartsys.com> Date: Tue, 02 Mar 1999 18:05:33 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: How would I write to a given address in memory (asm)? References: <7bgnhs$2pd$1 AT news6 DOT svr DOT pol DOT co DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Andrew Davidson wrote: > > Assuming I have the address of a variable/array held in esi and the data I > wish to write in edx how do I transfer that data into the variable pointed > to by esi? I would have thought movl %%edx,(%%esi) would have done the trick > but that seems to do nothing at all. Any code fragments would be greatly > appreciated. How about if you post your code? AFAICT, that's the right instruction; hence your problem probably lies elsewhere. -- Nate Eldredge nate AT cartsys DOT com