program to find largest number using z80 simulator

Posted on 2009-02-17
Last Modified: 2013-12-27
Hello all,

I would like to ask on how to write z80 code to find the largest number such as the number 23 in a table of numbers eg. 8,9,10,23,14 using z80 codes. the largest number should be located in a specific memory address.

My idea for this is as the program reads the number,it will hold the 1st number(8) and move to the next number(9). since 9 is larger than 8,it will remove 8 from the address and 9 will be inserted. this process will continue till the end of the number i.e.14..

anyone can share their expertise on this? really appreciate it..Thanks :)
Question by:Timmy904
    LVL 41

    Accepted Solution

    Z80 simulator?!?   This sounds a lot a homework assignment

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Article by: Rob
    Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    Introduction to GIMP:  GNU Image Manipulation Program. It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now