I am a new user at MASM and I have few questions about it.
Can someone tell me how to input string and than print it.
I 've read something about MASM but I can't still solve this string trouble.
Can someone write me an example how to input 2 strings and number and print them like this
String1
String2
Number
Hi,
you will find what you need to know here (http://www.masmforum.com/simple/index.php?topic=1094.0).
Thanks but this is not what I need I tnihk I need to do it in some older version of MASM the one which starts with
.MODELL
.DATA
.STACK
.CODE
Start:
.......
END Start
Can you help me with this version ?
:U
Quote from: Vix on March 31, 2005, 08:44:28 PM
Thanks but this is not what I need I tnihk I need to do it in some older version of MASM the one which starts with [...]
Do you think or do you know? :wink
Is it for DOS (16bit) or for Win (32bit)?
Give more specifications get more info.
There was some guy around last time asking for a ready to build program that takes 2 numbers as input and performs some mathematical operation on it. I hope you are not the same guy or even belong to the same class. Homework is for exercise which should be solved on your own for the learning effect.
I'm not that same guy I 've read something about MASM.
Version I have is 16 bit (DOS) this is pretty easy stuff but this string thing really bothers me I know how to print it but inputting string is my problem.
Thank you I hope I'm not bothering you because these are basics things.
:)
Quote from: Vix on March 31, 2005, 09:22:32 PM
I'm not that same guy I 've read something about MASM.
That means you never did a own piece of code?
Quote from: Vix on March 31, 2005, 09:22:32 PMVersion I have is 16 bit (DOS) this is pretty easy stuff but this string thing really bothers me I know how to print it but inputting string is my problem.
You are in the wrong subforum here, btw. We have a dedicated subforum for 16bit stuff. It is likely that the thread will be moved soon.
I just did a search on google (http://www.google.de/search?hl=de&q=assembler+dos+keyboard+input&meta=) that brought me to this page (http://www.emu8086.com/vb/index_asm.html) containing that article (http://www.emu8086.com/vb/asm_samples/int21.txt).
It is not especially written for MASM but you should get the idea.
Give it a try.
Thanks I've solved this string problem and it is working
:U