From: zad <zacido@tiscali.it>
To: linux-assembly@vger.kernel.org
Subject: simple problem under linux
Date: Wed, 12 Nov 2003 18:37:42 +0000 [thread overview]
Message-ID: <3FB27DF6.9060003@tiscali.it> (raw)
section .text
global _start
_start:
mov ah ,0ah
mov al , 'A'
int 10h
I tried to run this simple asm code in linux but I always got a
Segmentation fault
I compiled the asm file with these commands
$ nasm -f elf a.asm -o a.o
$ ld a.o
$ ./a.out
Segmentation fault
I was working into a shell in kde.
can someone help me thanks
next reply other threads:[~2003-11-12 18:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 18:37 zad [this message]
[not found] ` <04e301c3a946$5179af80$6501a8c0@rhyde>
2003-11-12 19:04 ` again simple problem under linux zad
2003-11-13 3:52 ` peter w krause
2003-11-13 9:48 ` zad
2003-11-13 9:23 ` Frederic Marmond
[not found] ` <3FD87CCB.3060503@tiscali.it>
2003-12-11 14:17 ` bootloader prob Frederic Marmond
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FB27DF6.9060003@tiscali.it \
--to=zacido@tiscali.it \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).