Re: NASM (BSD vs. Linux)

2002-11-06 Thread Eric Rivas
On Mon, 4 Nov 2002 15:24:43 -0800 Naydoe Maung <[EMAIL PROTECTED]> wrote: [snip] > > As you can see here, It compiled and linked without any errors, > however no appropriate output is being generated. There were no > problems running it on Linux. I heard some issues about different > sys calls

Re: NASM (BSD vs. Linux)

2002-11-04 Thread Naydoe Maung
On Monday 04 November 2002 04:11 pm, Dan Nelson wrote: > In the last episode (Nov 04), Naydoe Maung said: > > mov eax, 4 > > mov ebx, 1 > > mov ecx, msg > > mov edx, MSGLEN > > int 80h > > > > Shell output: > > > > bash-2.05b$ nasm -f elf

Re: NASM (BSD vs. Linux)

2002-11-04 Thread Dan Nelson
In the last episode (Nov 04), Naydoe Maung said: > mov eax, 4 > mov ebx, 1 > mov ecx, msg > mov edx, MSGLEN > int 80h > > Shell output: > > bash-2.05b$ nasm -f elf hello.asm > bash-2.05b$ ld -o hello hello.o > bash-2.05b$ ./hello > bash-

NASM (BSD vs. Linux)

2002-11-04 Thread Naydoe Maung
- FreeBSD 4.7-RELEASE #0: i386 - NASM version 0.98.33 compiled on Oct 31 2002 - Linux driver already loaded Simple assembly code for Hello World: == SECTION .data msg DB "Hello, World!", 0Ah, 0Ah MSGLEN EQU 14 SECTION .text global _start _start: mov eax,