delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/11/02/06:01:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why the call instruction points 2 bytes before to the real start sub-routine ?
Date: 2 Nov 2005 10:49:17 GMT
Lines: 20
Message-ID: <3srjtdFps5r6U3@news.dfncis.de>
References: <003501c5df1c$b3f4a440$2432a8c0 AT dcueva>
X-Trace: news.dfncis.de B0P2T45045tQmJnQsyYLuQgFW9qoeWDz2XLsp+UxU7o1ZYlNeLfYwUeou8
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Diego Cueva <dcueva AT todo1 DOT com> wrote:

> This dis-assembled code is correct, but when I run the program does not
> work fine. 

Of course it doesn't --- you're using entirely the wrong tool for the
job.  DOS .com files aren't 32-bit code, and no, there's no simple
machine instruction to turn the machine into 32-bit mode, either.

If DOS-style .com files are what you want to create, DJGPP is not the
tool you need.

> PS. I do not know how I can do post via newsgroup.

... You're managing just fine via the gateway between the newsgroup and
the mailing list.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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