Mail Archives: djgpp/1998/06/19/00:05:30
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 -