Demerzel utworzono 26 sierpnia 2007 utworzono 26 sierpnia 2007 Polecenia: ja@Fortress:~/asembler$ vim hello2.asmja@Fortress:~/asembler$ nasm -f elf hello2.asmja@Fortress:~/asembler$ ld hello2ld: warning: cannot find entry symbol _start; defaulting to 0000000008048080 kod pliku: section .text global _start_start: mov edx,len mov ecx,1 mov eax,4 int 0x80section .datamsg db 'Hello world!',0xalen equ $ - msg Jak rozwiązać ten błąd? Próbowałem paru przykładowych programów zawsze trafiam na ten problem. Pod Windowsem nie miałem z tym problemu.
sawak komentarz 27 sierpnia 2007 komentarz 27 sierpnia 2007 //cut section .text global _start _start: mov eax,4 mov ebx,1 mov ecx,msg mov edx,len int 80h mov eax,1 int 80h section .data msg db 'Hello world!',0xa len dd $ - msg //cut nasm -f elf hello2.asm ld -o hello2 hello2.o Znajdz lepszy kurs assemblera:P a to forum troche wydaje mi sie nie pod takie rzeczy stworzone... Pozdrawiam.
Demerzel komentarz 27 sierpnia 2007 Autor komentarz 27 sierpnia 2007 Dziękuje. Zdążyłem już ruszyć problem do przodu. Znalazłem lepszy kurs i poszło. A forum można poszerzyć.
Wciąż szukasz rozwiązania problemu? Napisz teraz na forum!
Możesz zadać pytanie bez konieczności rejestracji - wystarczy, że wypełnisz formularz.