delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2003/12/08/17:46:10

X-Authentication-Warning: delorie.com: mail set sender to opendos-bounces using -f
Message-ID: <213B4DD669E9D31198660090277565633D9C58@EXCHANGE>
From: Jacob Brewer <Jacob DOT Brewer AT oasisgamingusa DOT com>
To: "'opendos AT delorie DOT com'" <opendos AT delorie DOT com>
Subject: RE: DR Dos on a P4
Date: Mon, 8 Dec 2003 16:46:13 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hB8MiFMZ013775
Reply-To: opendos AT delorie DOT com

Please bear with me, this is my first pure assembler program (and hopefully
my last!)

now I am running the commands as follows:

bin\ml /AT /coff /c clrvdisk.asm
link -subsystem:console /entry:START  -out:clrvdisk.com clrvdisk.obj

and receiving the folowing output


C:\COPYOF~1>bin\ml /AT /coff /c clrvdisk.asm
Microsoft (R) Macro Assembler Version 6.11
Copyright (C) Microsoft Corp 1981-1993.  All rights reserved.

 Assembling: clrvdisk.asm

C:\COPYOF~1>link -subsystem:console /entry:START -out:clrvdisk.com
clrvdisk.obj

Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

LINK : error LNK2001: unresolved external symbol _START
clrvdisk.com : fatal error LNK1120: 1 unresolved externals

Jacob B. Brewer
Software Engineer
Oasis Gaming USA
www.oasisgamingusa.com <http://www.oasisgamingusa.com> 

-----Original Message-----
From: Arkady V.Belousov [mailto:ark AT belous DOT munic DOT msk DOT su]
Sent: Monday, December 08, 2003 6:17 PM
To: opendos AT delorie DOT com
Subject: RE: DR Dos on a P4


Hi!

8-δΕΛ-2003 11:06 _Jacob DOT Brewer AT oasisgamingusa DOT com (Jacob Brewer) wrote to
"'opendos AT delorie DOT com'" <opendos AT delorie DOT com>:

JB> My assembler isn't too good.  I am having problems getting the line "not
JB> dword [es:bx + di]" to compile in MASM6.11.

     Replace "dword" by "dword ptr" - NASM language is different (dumber),
than language of TASM/MASM. But "not dword ptr" is a 32-bit instruction, and
you should add .386 directive to enable compile 32-bit instructions in
16-bit code.

JB> I am getting a syntax error :(
JB> Is it the same as "not [es:bx + di]"



- Raw text -


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