www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/19/00:05:30

Sender: nate AT cartsys DOT com
Message-ID: <3589CDC3.BC8CE391@cartsys.com>
Date: Thu, 18 Jun 1998 19:32:35 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: jan malina <jan.malina@{NOSPAM}ping.be>
CC: djgpp AT delorie DOT com
Subject: Re: C++ and asm
References: <6mbe53$4os$1 AT news3 DOT Belgium DOT EU DOT net>

jan malina wrote:
> 
> How can I use a asm block in a C/C++ code file ? (with DJGPP)
> It complains when I do this:
> I included line numbers (n - ...) for the erro places
> 
> 0 - ... // No errors
> 1 - _asm {  // Or __asm i don't really now anymore
> 2 - mov ah,00h
> 3 - int 16h
> 4 - }
> 5 - ... // Also no errors
> this are the errors:
> (1): Pase error before {
> (2): No hexadecemly number
> (3): No hexadecemly number

See FAQ section 18.13 (I believe).  There is also a very helpful
tutorial here:

http://www.rt66.com/~brennan/djgpp/djgpp_asm.html
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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