1

nasm assembly buble sort algorithm

view story
linux-howto

http://stackoverflow.com – I am writing a bubble sort algorithm in assembly. I get an error: "Segmentation fault (core dumped)". What does that mean? (I am new to assembly. Just started two days ago.) nasm -f elf bublesort.asm ld -s -o a bublesort.o ./a 98761234 Code: section .data nline: db 10 linelen equ $-nline global _start _start: pop ebx pop ebx pop ebx mov eax, 0 mov dl, 0 mov esi, ebx finLenOfString: cmp dl, [esi] je bublesort inc esi inc eax jmp finLenOfString ;ebx list eax size ; ecx is flag, mov (HowTos)