delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/10/17:30:05

From: "Graham Warren" <Moosehead AT tesco DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: LD - the DJGPP linker
Lines: 15
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <K%0X8.3190$F%6.145953@newsfep1-win.server.ntli.net>
Date: Wed, 10 Jul 2002 21:47:04 +0100
NNTP-Posting-Host: 62.253.86.54
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: newsfep1-win.server.ntli.net 1026333802 62.253.86.54 (Wed, 10 Jul 2002 21:43:22 BST)
NNTP-Posting-Date: Wed, 10 Jul 2002 21:43:22 BST
Organization: ntlworld News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This question is about linking code written in assembler using the DJGPP
linker.

Hi,
When I write 32-bit code in assembler (to simply display a string, no setup,
or entry code whatsoever),then compile to the COFF object file format and
link using LD, is this automatically a protected mode program. If so, where
does the code come from to enter protected mode?
Am I writing a protected-mode program here or simply a 32-bit plain DOS
executable?

Thanks, apologies for the dumb question
Graham


- Raw text -


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