ReadChar
AL
register.
ReadHex
EAX
.
ReadInt
EAX
.
ReadString
Enter
key.
Pass the offset of a buffer in EDX
and set ECX
to the maximum number of characters the user can enter, plus 1 (to save space for the terminating null byte).
It returns the count of the number of characters typed by the user in EAX
.
Simply Reading in and Writing out by Using | |
---|---|
ReadString |
ReadChar
|
.data buffer BYTE 128 DUP(0) .code call Clrscr mov edx, OFFSET buffer mov ecx, SIZEOF buffer call ReadString call Crlf call WriteString |