delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/01/11:55:43

From: Neil Walker <neil DOT walker AT syntegra DOT bt DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: assembler switches
Date: Thu, 01 Oct 1998 16:49:50 -0700
Organization: BT Labs, Martlesham Heath, Ipswich, UK
Lines: 16
Message-ID: <3614151E.3C3E@syntegra.bt.co.uk>
NNTP-Posting-Host: 193.113.97.16
Mime-Version: 1.0
X-Mailer: Mozilla 2.0 (Win16; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Can anyone help with the following problems as I'm new to DJGPP and 
cannot seem to find the required help in INFO:

1. How to set the compiler to allow 286 specific commands, e.g. shl di,6
   (in borland C it was done with the -1 option, e.g. gcc -1 file.c)
2. Syntax to allow inline assembly - I assumed it would be 'asm', e.g.
    asm     mov dx,3DAh
but this does not work (the disallow inline assembly flag is not set)

I'm using GNU version 2.8


Thanks for the help


Neil.

- Raw text -


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