program to find largest number using z80 simulator

Posted on 2009-02-17
Medium Priority
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

graye earned 1500 total points
ID: 23664685
Z80 simulator?!?   This sounds a lot a homework assignment

Author Comment

ID: 23667298

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

862 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