From owner-freebsd-questions Sat Mar 9 20: 7:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe46.law12.hotmail.com [64.4.18.18]) by hub.freebsd.org (Postfix) with ESMTP id 6983537B400 for ; Sat, 9 Mar 2002 20:07:44 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 9 Mar 2002 20:07:44 -0800 X-Originating-IP: [66.32.79.104] From: "Jeff Jeter" To: "Nas B" Cc: "FreeBSD Questions" References: Subject: Re: assembly language Date: Sat, 9 Mar 2002 23:07:11 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 10 Mar 2002 04:07:44.0251 (UTC) FILETIME=[214434B0:01C1C7E9] 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 google is you friend. http://webster.cs.ucr.edu/Page_asm/ArtOfAsm.html Also, i don't think this is the best place to ask for assembly language help. This is a topical list. ----- Original Message ----- From: "Nas B" To: Sent: Thursday, March 07, 2002 11:38 AM Subject: assembly language > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message