Date: Sun, 18 Feb 2001 20:51:10 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Sopola Message-Id: <2427-Sun18Feb2001205110+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <3A8FEFB7.C2603B36@prodigy.net> (message from Sopola on Sun, 18 Feb 2001 10:52:24 -0500) Subject: Re: Newbie Question References: <3A8FEFB7 DOT C2603B36 AT prodigy DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Sopola > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 18 Feb 2001 10:52:24 -0500 > > When I do this > > __asm { > mov ah, 00h > mov al, 02h > int 10h > } > > I get "parse error before {" and "nondigits in number and not > hexadecimal". > If I do it like this: > __asm ("mov ah, 00h"); > __asm ("mov al, 02h"); > __asm ("int 10h"); > > I get "error: too many memory references for mov". This is explained in the DJGPP FAQ list. See http://www.delorie.com/djgpp/v2faq/faq17_1.html http://www.delorie.com/djgpp/v2faq/faq17_8.html