I want to create a program that takes in input and prints out the result, but I can't create an empty variable that can take a string input. Here is what I mean:
.data
emptyvar db ???? ; I don't know what to do here
.data?
buffer dd 100 dup(?)
.code
start:
lea eax, buffer
push eax
call StdIn ; get input
; NOW HERE IS WHAT I DON'T KNOW WHAT TO DO:
; I know have input, what I want to do is print that result. But where
; do I store the input and how do I print the result?
I know that I can store an integer in an empty variable, and I could print that, but how can I create an empty string variable?
Any help would be greatly appreciated,
Regards,
Progrmr