assembly - What is the difference in using global _main and global _start in the text section of asm -
i new @ assembly language. have been studying confused between these two: global _main , global _start.. if knows it, please help!
main or _main or main_ (openwatcom) known c language, , called "startup code" "usually" linked - if you're using c.
_start known linker ld (in linux) default entrypoint (another symbol can used) , not called. thus, there no return address on stack. stack starts number of arguments. os may differ.
Comments
Post a Comment