Hello All, I have troubles with assembly in Solaris 10 x86 Such operations like reading/writing to a file, executing new process , etc, work fine , but my every programm, written in assembly ,ends up with segmentation fault, even Hello world program. I call exit() function(or lwp_exit()) , but still get seg fault.So, how must typical program look like(I mean the exit operation)?I see such program as the following: ... code ...... pushl $0 pushl $0 // xorl %eax,%eax movl $0x1,%eax lcall $0x1,$0x0
And where i can find docs about x86 assembly under solaris (except docs.sun.com)? This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
