From owner-freebsd-questions Thu Mar 7 22: 0: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f243.law11.hotmail.com [64.4.17.243]) by hub.freebsd.org (Postfix) with ESMTP id 14E0737B402 for ; Thu, 7 Mar 2002 21:59:57 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Mar 2002 21:59:56 -0800 Received: from 68.6.86.185 by lw11fd.law11.hotmail.msn.com with HTTP; Fri, 08 Mar 2002 05:59:56 GMT X-Originating-IP: [68.6.86.185] From: "Charles Burns" To: nas_bk@hotmail.com, freebsd-questions@FreeBSD.ORG Subject: Re: assembly language Date: Thu, 07 Mar 2002 22:59:56 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 08 Mar 2002 05:59:56.0932 (UTC) FILETIME=[796E4C40:01C1C666] 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 Err, are you a software engineer or are you studying to be one? That looks quite a bit like a series of assignments from an assembly language course. If that is the case, you should have a book from the class (as learning ASM without documentation is like pulling teeth from a statue). Not that this seems to have anything to do with FreeBSD, but look for the book "The Art of Assembly Language" by Randall Hyde. It's free on the internet. www.google.com >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 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message