TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: ALL
from: ED BEROSET
date: 1998-02-01 17:49:00
subject: Re: Directly writing to memor

From: Ed Beroset 
Subject: Re: Directly writing to memor
At 01:13 1/31/98, you wrote:
>
>Replying to a message of Ed Beroset  to All:
>
> DG>>>> mov ss:[sp], eax
>
> >> Did you try it?  Microsoft's DEBUG says "error", and
> >> OpenDOS's DEBUG says "Incorrect name of index register".
>
> EB> That's because it's not a legal addressing mode.  
>
>.386
>...
>mov [esp], eax
>...
>.8086
>:)
You cheated! ;-)  Seriously, that's esp, not sp.  The instruction "mov
ss:[sp],eax" isn't legal in 32-bit or 16-bit mode.  
Ed
-!-
---
---------------
* Origin: The Circuit! Board * Spokane * (1:346/100)

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™.