Vedanth Salian - 2014-10-22

I downloaded the latest JWASM for linux. I extracted it to my home directory. I then used the following lines in terminal - sudo cp JWASM /usr/bin/jwasm &
sudo chmod +x /usr/bin/jwasm. Then I wrote a program in vi editor and named it as home.asm.
The contents of file are -
.data
n1 db 05h
n2 db 03h
sum db ?
.code
mov al,n1
mov bl,n2
add al,bl
mov sum,al
int 03h
end
Then I compiled the file with jwasm -elf64 -zcw -Fo=home.o home.asm. It gave 0 warning & 0 error. Then I used gcc -nostartfiles home.o -o home. Here it gives error like it does not recognize files and gives error. Can anyone give me the correct compiling, linking and executing statements. Another thing is that they say jwasm is like masm but .model small & mov ax,@data give errors. What is wrong here?