From owner-freebsd-questions Thu Mar 7 16:45:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f99.sea1.hotmail.com [207.68.163.99]) by hub.freebsd.org (Postfix) with ESMTP id F018D37B416 for ; Thu, 7 Mar 2002 16:45:08 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Mar 2002 08:38:47 -0800 Received: from 149.170.39.33 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 07 Mar 2002 16:38:47 GMT X-Originating-IP: [149.170.39.33] From: "Nas B" To: freebsd-questions@FreeBSD.ORG Subject: assembly language Date: Thu, 07 Mar 2002 16:38:47 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Mar 2002 16:38:47.0518 (UTC) FILETIME=[8DD3CFE0:01C1C5F6] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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