> Anyone can tell me why this chdir code doesnot work on > linux ? > section .data > dir: db '/bin' You forgot to NUL-terminate your string. A dangerous mistake, as it can become a Heisenbug. You were lucky it failed to work for you. Use this instead: dir: db '/bin', 0 b - : send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- chdir on linux does not work
- From: Noprianto
- chdir on linux does not work
- Prev by Date: Re: chdir on linux does not work
- Next by Date: Re: chdir on linux does not work
- Previous by thread: Re: chdir on linux does not work
- Next by thread: Re: chdir on linux does not work
- Index(es):
![]() |