This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

assembler


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]