linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* simple problem under linux
@ 2003-11-12 18:37 zad
       [not found] ` <04e301c3a946$5179af80$6501a8c0@rhyde>
  0 siblings, 1 reply; 6+ messages in thread
From: zad @ 2003-11-12 18:37 UTC (permalink / raw)
  To: linux-assembly

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-11 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-12 18:37 simple problem under linux zad
     [not found] ` <04e301c3a946$5179af80$6501a8c0@rhyde>
2003-11-12 19:04   ` again " 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

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).