assembler

Alex alexl@i-france.com
Sat Oct 24 03:21:00 GMT 1998


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@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list