Hi, I want to learn asm, by follow the book 'Programming from the Ground Up'.
But I failed on the first example~

.section .data
.section .text
.globl _start

_start:
        movl $1, %eax
        movl $0, %ebx
        int $0x80

After as and ld, I only get Segmentation fault. I'm using Archlinux X86_64,
binutils-2.21-4, with my custom kernel just to run 64bit code.
Is there somethong wrong, or any book to learn x86_64 assemble?

Thanks all!

Reply via email to