Code:mydata segment n1 dw 008 n2 dw 009 n3 dw 000 mydata ends mycode segment assume ds:mydata,cs:mycode begin: mov ax,mydata mov bx,ax add ax,bx mov n3,ax mycode ends end begin
Code:mydata segment n1 dw 008 n2 dw 009 n3 dw 000 mydata ends mycode segment assume ds:mydata,cs:mycode begin: mov ax,mydata mov bx,ax add ax,bx mov n3,ax mycode ends end begin
AbHHinaay
If you didn't notice, this is a C board, not an asm one.C Board > General Programming Boards > C Programming
For asm questions, try here
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]