TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: JEFF QUINDLEN
from: HUGH NOLAND
date: 1998-01-23 10:17:00
subject: Directly writing to memory

JQ>       I consider myself to be fairly experienced assembly programmer, 
however
JQ> there is a simple task in which I've tried and failed numerous times 
ver.
JQ> That task is moving data into a specific address.  If somebody could help 
me I
JQ> would deeply apreciate it, as it has given me headaches for days.  Would 
code
JQ> like this work (to place the value 1h into memory at 0000:0000)?
JQ>              mov ax,01h
JQ>              mov [00000],ax
JQ> or maybe something like this?
JQ>              mov ax,01h
JQ>              xchg [00000],ax
 
Try   mov ax,0
      mov es,ax
      mov ax,1
      mov es:[0],ax
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.