Subject: assembler
From: [email-masked] (Alex)

24 Oct 1998 08:27:40 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "[email-masked] (mailing list)" <[email-masked]>

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
"[email-masked]" with one line of text: "help".