View Single Post
Old 13 January 2020, 18:10   #6
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
Quote:
Originally Posted by sparhawk View Post
If you plan to call C functions from your asm code, you may still need to write a regular "main()" module as your entrypoint
To be more precise: if you plan to call clib (vclib in this case) functions...

Initialising the clib, or running constructors, would be the main reason for a startup code. And not even all clib functions would need it. The string functions or ctype could still be used.
phx is offline  
 
Page generated in 0.05223 seconds with 11 queries