Hi
I have this code which prints the arguments from the command line to the DOS line.
MOV SI,80H
MOV AL,[SI]
INC SI
XOR AH,AH
ADD SI,AX
MOV BYTE PTR [SI],’$’
MOV AH,9
MOV DX,81H
NT 21H
Can someone give me an answer why is it dome this way, and how can I access the argument that is passed? Cause I tried DX but it doesn't work if I try to compare it with a number.
Thank you