Hey shoorick, thanks for your answer. Now I understand the reason of that line...
cad1 db 31,?,31 dup (?) Because later on the program there is this code:
lea DX, cad1
mov AH, 0Ah
int 21h
And according to
int 21h and
AH = 0Ah:
"Buffered Keyboard Input: This function reads a line of text from the keyboard and stores it into the input buffer pointed at by ds:dx.
The first byte of the buffer must contain a count between one and 255 that contains the maximum number of
allowable characters in the input buffer. This routine stores the actual number of characters read in the second byte. The actual input characters begin at the third byte of the buffer. "
So that's the reason of the first
31 (They are defining the maximun numbers of characteres of cad1 = 31)
And the
? (it's undefined because it's the second byte and it will contain the actual number of characters read by the keyboard)
Am I right ?