delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/24/08:27:40

From: alexl AT i-france DOT com (Alex)
Subject: assembler
24 Oct 1998 08:27:40 -0700 :
Message-ID: <3631AA15.3FC9FED.cygnus.gnu-win32@i-france.com>
Mime-Version: 1.0
To: "gnu-win32 AT cygnus DOT com (mailing list)" <gnu-win32 AT cygnus DOT com>

can someone tell me how to make assembler in a C prog!!!!

i thought it was
asm{
mov ax, 13h;
int 10h;
}
but i got errors when i compiled that with gcc

test.c: In function `main':
test.c:5: parse error before `{'
test.c:6: nondigits in number and not hexadecimal
test.c:7: nondigits in number and not hexadecimal
test.c:4: warning: return type of `main' is not `int'
test.c: At top level:
test.c:10: parse error before string constant
test.c:10: warning: data definition has no type or storage class

and i'd also like to know how to swith to graphic mode 320*240*8  coz
mov ax, 13h; int 10h; seems not to werk!!
and then how to copy a buffer in the graphic memory ;))

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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