Date: Thu, 07 Mar 2002 16:38:47 +0000 From: "Nas B" <nas_bk@hotmail.com> To: freebsd-questions@FreeBSD.ORG Subject: assembly language Message-ID: <F99V0hCLwHc9ny7BXx40000526a@hotmail.com>
next in thread | raw e-mail | index | archive | help
I am a software Engineer that has come across assembly language and i need help on the topic, I am starting to learn the basics, and it is amazing how little help I am finding, please may you help me with the following programs exercises, for me to get a better understanding of the language: program one: This reads a sequence of single digit unsigned decimal numbers, terminated with a $, from the keyboard and displays the total on screen. You may assume the total will not exceed 9. program two: which reads a sequence of single digit unsigned decimal numbers, terminated with a $, from the keyboard and displays the total on screen if it is less than 10. you must display an appropriate error message if the total exceeds 9. program three: This reads a sequence of two digit unsigned decimal numbers, terminated with a $, from the keyboard and displays the total on screen if it is less than 100. You must display an appropriate error message if total exceeds 99. program four: reads a sequence of two digit signed decimal numbers, terminated with a $, from the keyboard and displays the total on screen if it is between -99 and +99. You must display an approriate message if the total is outside the range. program five: This is reads a sequence of variable length signed decimal numbers (maximum 4 dogits terminated by carriage return), terminated with a $, from the keyboard and displays the total on screen if it is between -9999 and +9999, You must display an appropriate error message if total is outside the range. Thank you very much _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F99V0hCLwHc9ny7BXx40000526a>