delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/06/13:45:45

Date: Mon, 6 Mar 2000 19:22:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Martin F. Johansen" <mfag AT online DOT no>
cc: djgpp AT delorie DOT com
Subject: Re: Inline asm
In-Reply-To: <ZYQw4.7893$6b1.126890@news1.online.no>
Message-ID: <Pine.SUN.3.91.1000306192158.13668B@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 6 Mar 2000, Martin F. Johansen wrote:

> Does Inline asm work in djgpp?

Yes.

> I tried:
> 
> asm MOV AX,0013h
> asm INT 10h
> 
> asm{
>     MOV AX,0003h
>     INT 10h
> }

This is not the syntax of inline asm accepted by GCC.  See Chapter 17 of 
the FAQ for details.

- Raw text -


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