Hello!
I just start learning assembly. I learn it at school on windows. I also want run it on my linux box, with nasm, and it had problems. this is the code:
Code:
cseg segment
assume cs:segment
start: mov ax, 4000
mov ds, ax
mov si, 1000
mov ch, 88
mov ds:[si], ch
cseg ends
end start
nasm output was:
Code:
irst.asm:1: error: parser: instruction expected
irst.asm:2: error: parser: instruction expected
irst.asm:8: error: symbol `cseg' redefined
irst.asm:8: error: parser: instruction expected
irst.asm:9: error: parser: instruction expected
I don't know what the problem is, but on widows it worked. Someone told me the I need to change some orders to unix. Does it true? What to change?
And another question: I try install the ald assembly debugger. It a good debugger? There is something better?
Omer.