Hi I am on linux 64bit and when I run the asm code it tells me segmentation error
here is the code:
GNU nano 4.8 main.asm
SECTION .data ; Section containing initialised data
SECTION .text ; Section containing code
global _start ; Linker needs this to find the entry point!
_start: ; Write your instructions between the two noops
mov ax, 5307h
mov cx, 3
mov bx, 1
int 15h
and I use nasm and ld for compiling and linking on 64 bit :
nasm -felf64 main.asm
ld main.o
do anyone have any solution for the problem ?
here is the code:
GNU nano 4.8 main.asm
SECTION .data ; Section containing initialised data
SECTION .text ; Section containing code
global _start ; Linker needs this to find the entry point!
_start: ; Write your instructions between the two noops
mov ax, 5307h
mov cx, 3
mov bx, 1
int 15h
and I use nasm and ld for compiling and linking on 64 bit :
nasm -felf64 main.asm
ld main.o
do anyone have any solution for the problem ?