delorie.com/archives/browse.cgi | search |
From: | Harald Meyer <hmeyer AT berlin DOT netsurf DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: C++ and asm |
Date: | Tue, 23 Jun 1998 00:40:07 +0200 |
Organization: | Unlimited Surprise Systems, Berlin |
Lines: | 27 |
Message-ID: | <358EDD47.E2283204@berlin.netsurf.de> |
References: | <6mbe53$4os$1 AT news3 DOT Belgium DOT EU DOT net> |
NNTP-Posting-Host: | dyn074.berlin.netsurf.de |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
jan malina schrieb: > 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 > > Jan Malina > Jan DOT malina AT ping DOT be (mail me back at this adress) Don't you need to write 16h as 0x16? just a thought Harald Meyer
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |