Soldato
- Joined
- 4 Mar 2006
- Posts
- 3,712
- Location
- Wales
A bit of assembler advice needed (today)
Hey all, I really should learn things as I go along.
Anyway in my writing of a little program in assembler, I've noticed I tend to use eax and ebx for most things.
This isn't a problem, but in this program I need to store a couple of user inputted strings, one a single letter and the other a proper string (Their name).
Would I have to store these in eg the ecx and edx registers, or is there a way (which I'd assume is the case) of storing them into a particular variable.
If so how would I declare an empty variable, and what command would I use to put the values into the variables.
Thanks
Hey all, I really should learn things as I go along.
Anyway in my writing of a little program in assembler, I've noticed I tend to use eax and ebx for most things.
This isn't a problem, but in this program I need to store a couple of user inputted strings, one a single letter and the other a proper string (Their name).
Would I have to store these in eg the ecx and edx registers, or is there a way (which I'd assume is the case) of storing them into a particular variable.
If so how would I declare an empty variable, and what command would I use to put the values into the variables.
Thanks

Last edited: