[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
I need to write short binary for I/O control in assembler.
When I try to run any binary file (from samples too) translate by:
nasm -f hello.asm
ln -s -o hello hello.o
all is OK, but after run ./hello or ald hello output is:
Memory fault (core dumped)
08048080 BA0E000000 mov edx, 0xe
Program terminated with signal SIGSEGV (Segmentation fault)
In FreeBSD in first line in all sources asm codes is:
Can anyone write me what must by define in assembler source
for correct this problem on NetBSD platform?
Thanks Jan Vlk
Main Index |
Thread Index |