News:

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

accept input from keyboard?

Started by gavin, January 13, 2005, 07:54:03 PM

Previous topic - Next topic

gavin

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.

thomasantony

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 ::)
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free

gavin

 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

thomasantony

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
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free