TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: JAN WAGEMAKERS
from: JAMES VAHN
date: 1997-12-18 06:57:00
subject: Re: leal

> But still, it doesn't work like I expected :-/
I've found that it is necessary to define a data area under nasm,
otherwise a segfault occurs. Seems like the assembler should flag
it as an error.... Same for gas?
 
   section .text
        mov [currenttime], eax 
   section .data      ; <<<<<<<<<<<<<<<<<<  
currenttime     dd 0
--- ifmail-tx (i386 Linux)
---------------
* Origin: jvahn@short.circuit.com (1:346/15.1@fidonet)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.