Page 1 of 1

how to call main from assembly language

Posted: Sat Dec 01, 2001 12:00 am
by abhishek srivastava
hello
i would like to know how to call main()from assembly language routine.my boot up code will
be written in assembly and my main kernel in c.so i
will have to mix them.
thank you
abhishek srivastava

RE:how to call main from assembly language 

Posted: Sat Dec 01, 2001 12:00 am
by Jace
jmp _main

>On 2001-12-01 04:09:09, abhishek srivastava wrote:
>hello
> i would like to know how to call main()from assembly language routine.my boot up code will
>be written in assembly and my main kernel in c.so i
>will have to mix them.
>thank you
> abhishek srivastava

RE:how to call main from assembly language 

Posted: Sat Dec 01, 2001 12:00 am
by Chris Giese
>On 2001-12-01 04:09:09, abhishek srivastava wrote:
> i would like to know how to call main()from assembly language routine.my boot up code will
>be written in assembly and my main kernel in c.so i
>will have to mix them.

http://www.execpc.com/~geezer/osd/libc/index.htm#asm