www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/02/08:31:04

From: "Andrew Davidson" <andrew AT lemure DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: How would I write to a given address in memory (asm)?
Date: Mon, 1 Mar 1999 13:01:49 -0000
Organization: Customer of Planet Online
Lines: 9
Message-ID: <7bgnhs$2pd$1@news6.svr.pol.co.uk>
NNTP-Posting-Host: modem-14.xenon.dialup.pol.co.uk
X-Trace: news6.svr.pol.co.uk 920379772 2861 62.136.26.142 (2 Mar 1999 13:02:52 GMT)
NNTP-Posting-Date: 2 Mar 1999 13:02:52 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.

Andrew


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019