I got a problem with the string variable.
When I control a string, i used to do it like this.
assume cs:code, ds:data
mov dx, offset str
mov ah, 09h
str db "I do like this.$"
There is no problem here. It works good.
But When we translate this into c. The variable of str is becoming a globle variable.
What i want to ask is how to use a local variable in Assembly.
I mean how to translate the following c code into the Assembly.
str = "Nice to meet you, guys.";
// assume that we have a print function that can print string
// into console.