News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Help with MASM

Started by Vix, March 31, 2005, 07:27:43 PM

Previous topic - Next topic

Vix

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


mnemonic

Hi,

you will find what you need to know here.
Be kind. Everyone you meet is fighting a hard battle.--Plato
-------
How To Ask Questions The Smart Way

Vix

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

mnemonic

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.
Be kind. Everyone you meet is fighting a hard battle.--Plato
-------
How To Ask Questions The Smart Way

Vix

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.
:)

mnemonic

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 that brought me to this page containing that article.
It is not especially written for MASM but you should get the idea.
Give it a try.
Be kind. Everyone you meet is fighting a hard battle.--Plato
-------
How To Ask Questions The Smart Way

Vix

Thanks I've solved this string problem and it is working
:U