We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

program to find largest number using z80 simulator

Medium Priority
623 Views
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 :)
Comment
Watch Question

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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
watever
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.