mystery question

Discussion in 'Assembly Language Programming (ALP) Forum' started by sajid227, Nov 4, 2009.

  1. sajid227

    sajid227 New Member

    Joined:
    Nov 4, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Write a program in Assembly Language to find the maximum number and the minimum number from an array of ten positive numbers. Store the minimum number in AX and maximum number in DX.

    [Hint: Use the conditional jumps]
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    This is easy (the 2nd mystery question completely baffled me though; I suggest you check back through your course notes and see where they've shown you how to do this for other things, and apply that knowledge).

    But we won't do your homework for you. Have a go and when you get stuck post your code and let us know what the problem is.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice