The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: gavin on January 13, 2005, 07:54:03 PM

Title: accept input from keyboard?
Post by: gavin on January 13, 2005, 07:54:03 PM
Hi their i'm using nasm on linux and i was wondering how to accept user input?

My problem is this i want a user to input a number and then output to the screen the value.

Ie.e input 100

output one hundred.

I'm not looking for an explanation or walk through, just some instructions and tgeneral help.

Thanks alot.

Btw forum has changd since i was here.

Looks nice.
Title: Re: accept input from keyboard?
Post by: thomasantony on January 14, 2005, 06:13:13 AM
Hi,
   Take a look at linuxassembly.org . I have troden these paths be4 and gave up :P . Not to discourage you or anything, IMO C is more suited for linux progging. In assembly all the syscalls are int 80h function and each function being a number etc. I suppose you could make macros for that but...

Thomas Antony ::)
Title: Re: accept input from keyboard?
Post by: gavin on January 14, 2005, 03:13:32 PM
 Ah thanks for the reply and advice but i will struggle on my friend.;)
Assembly on linux is very much suited, more than windows if you ask me. :U
Title: Re: accept input from keyboard?
Post by: thomasantony on January 16, 2005, 09:42:02 AM
Goo luck on your great quest my friend :U :boohoo: :8) ;) :boohoo: :U . I am making my own OS. That is much better that progging in windows or linux :bdg

Thomas Antony