TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: rowan crowe
from: Paul Edwards
date: 1995-05-20 11:02:54
subject: data segment woes

rc>     Why not set DS every time your ASM is called then?

rc> hello proc far
rc>   push   ds
rc>   mov    ax, {at}data
rc>   mov    ds, ax
rc>   .....
rc>   pop    ds
rc> endp

rc>     It's kludgy but then at least it will work under Watcom.

Thanks for your reply, Rowan.  However, I tried putting that into
the code, and it compiled under TASM, but WASM complained about
there being no such symbol {at}data.

Could you please elaborate on what you hoped to achieve by using
{at}data?  And why do I need to do that in the first place?  Why do
you say it is kludgy?  And why does it need to be done when I'm
using Watcom, but Borland is fine??!!  As you can tell, assembler
is not my strong point, but I really would like to be able to
have more than one compiler that can compile MSGED!!!  BFN.  Paul.
@EOT:

---
* Origin: Kludging up the works (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

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