Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-29-2005, 08:26 PM   #1
Member (5 bit)
 
Join Date: May 2004
Location: Connecticut
Posts: 19
assembly input?

i have to do a project for class which requires for me to write a recursive quicksort in assembly ive writtin the code for the most part but my problem is i cant test it cause i dont know how to input data from the keyboard...or even simply just put a list into the code...if it is possible can someone please leave a link or maybe an example...thanks...
SupraMan84 is offline   Reply With Quote
Old 02-02-2005, 09:27 PM   #2
Member (7 bit)
 
Join Date: Jul 2002
Posts: 67
in assembly it depends on the compiler and processor you're using of course. but in masm 6.15 with an intel ia32 processor you can use this code to input text.

mov ecx, (SIZEOF buffer) - 1 //ecx holds the limit for how many characters can be read into edx
call readString //readString puts the string into edx, well actually it puts the address of the string into the edx

i haven't coded in assembly for quite sometime so if anyone knows i'm wrong feel free to correct me
jon611 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:16 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2