Google Answers Logo
View Question
 
Q: Assembly language programming. ( No Answer,   3 Comments )
Question  
Subject: Assembly language programming.
Category: Computers > Programming
Asked by: uddin-ga
List Price: $5.00
Posted: 09 Apr 2003 16:36 PDT
Expires: 09 May 2003 16:36 PDT
Question ID: 188514
No one has answered my earlier question, (which I am still waiting an
answer for) heres a new question

I need an assembly language program that would input a string of
characters from the keyboard and print it in reverse order.
eg. if HELLO is input, then OLLEH should be the output
Answer  
There is no answer at this time.

Comments  
Subject: Re: Assembly language programming.
From: joeylawrance-ga on 10 Apr 2003 11:54 PDT
 
Assembly language is a vague term. Which processor do you need this
code for? x86? ppc? alpha? itanium? z80?

One possibility is to write code in C and compile using GCC. Tell the
compiler to output assembly code from your program (use the -S switch,
documented in the GCC manual).
Subject: Re: Assembly language programming.
From: uddin-ga on 10 Apr 2003 14:13 PDT
 
I have a pentium processor. 
I want to be able to compile and use it using MASM

Thanks!
Subject: Re: Assembly language programming.
From: muso-ga on 30 Apr 2003 20:49 PDT
 
Why not just look at
http://moneycentral.communities.msn.com/AssemblyLanguage/general.msnw?action=get_message&mview=1&ID_Message=247
?  That takes care of the reversing step, which should be the hardest
anyway.

There's a little error when he says "Now that we have...the start in
cx" but he means the length is in cx, but other than that a quick
glance doesn't reveal any problems to me.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy