http://vylekzhanin.livejournal.com/ ([identity profile] vylekzhanin.livejournal.com) wrote in [personal profile] alexkuklin 2007-09-11 06:45 am (UTC)

первый asm там - тоже поноценный "hello world", только без выхода. Надо добавить там ещё что-то типа:
mov         ebx,            0x00
mov         eax,            0x01  ; sys_exit()
int         0x80

и будет вполне полноценно: компилироваться, запускаться (выдавать hello world_) и корректно выходить (байт на 400 екзешник будет).

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org