| delorie.com/archives/browse.cgi | search |
| From: | "jan malina" <jan.malina@{NOSPAM}ping.be> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | C++ and asm |
| Date: | Thu, 18 Jun 1998 18:08:00 +0200 |
| Organization: | EUnet Belgium, Leuven, Belgium |
| Lines: | 20 |
| Message-ID: | <6mbe53$4os$1@news3.Belgium.EU.net> |
| NNTP-Posting-Host: | dialup035.gent.eunet.be |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |