Hey people. What I'm trying to do is get a String input from the user. And then displaying that string. I have no idea how to do it. I have most of the code figured out except that one part. Any help will be greatly appreciated! Thanks!! (By the way I'm just learning Assembly Language. I'm more used to Java)
String user input display. HELP!!!
TITLE Echo (echo.asm)
INCLUDE Irvine32.inc
.data
str1 BYTE "Please enter a name: ",0
buffer BYTE 80 DUP(0)
.code
main PROC
mov edx, OFFSET str1
call WriteString
mov eax, OFFSET buffer
mov ebx, SIZEOF buffer
call ReadString
exit ; exit to operating system
main ENDP
END main
thines01 401 Postaholic Team Colleague Featured Poster
Goalatio 0 Junior Poster in Training
cray 0 Newbie Poster
vhan 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.