site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cij4mzAM+Wlz34CZXMUGn/2BatNeS8DubG+TgR+luNx+gJVD8za0FnuBPzma7koLGmySLSDttg8OjXtGYkjvgQMRcGGm1tE1WvwfYrSkQOhfYvCfhX3FWnBcr7fYfOqc+yYDSFgYMi+ewE9jOgeof9RJz5Gc0bWkqYOB+vQOioQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XfuNpa3jCqvucPReyCswjxwozYBXU/C/p8l5ZbOacjwYYykD42xtK0r81PlIuNUYiTkgZfkyUwzBxyTMZIeXtD9N6poYipYYAq24JLsUy+UTPd65tvGPBpQWQqt3LF2l/PTh9v/maZ9n3auPgBR9eKp4mOzVn1W10yGQu01QnHI= sorry, it was really difficult to find, but i finally found what i needed to know :) nasm sucks :D mov ebx,0 mov eax,1 int 0x80 + (je sors) On 8/2/07, mm w <openspecies@gmail.com> wrote:
-------------------- lp.asm -------------------- global _main extern _printf
section .text _main: push say call _printf add esp, 4 ret say: db 'Lupus Magnus', 10, 0
-------------------- lp.asm --------------------
---------------------------------------------------- $> nasm -f macho -o lp_nasm.o lp.asm $> nm lp_nasm.o 00000000 T _main U _printf 00000011 t say ----------------------------------------------------
did i miss something ?
+
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com