1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

codes for sorting of numbers in assemby language

Discussion in 'Meet and Greet' started by retchiel, Sep 9, 2009.

  1. retchiel

    retchiel New Member

    Joined:
    Sep 9, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    hi shabbir. i am just new to assembly language and its not really easy for me. we have our project and that is to input 10 numbers and sort it from lowest to highest. i really dont know what to do:nonod:please help me.im waiting for your response. tanks a lot. hope you can help me on this.
     
  2. retchiel

    retchiel New Member

    Joined:
    Sep 9, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    oh before i forget. we are using emu8086.
     
  3. Raj08

    Raj08 New Member

    Joined:
    Aug 1, 2009
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Agent 420
    Location:
    India
    y u created a new thread for it ?
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Welcome to programming. It's not easy for anyone. Look through your course notes and think about them; you'll find all you need in what you've covered to date. Also you can try googling "sort algorithm", and look for "bubble sort" as one of the easiest sort algorithms to understand and implement.

    Also there are lots of different processors each with its own language. So if you want help with a particular processor you'll need to tell us which one you're using.

    We'll help if you get stuck. Start the code and work through it as far as you can, then when you're stuck (and I mean REALLY stuck, don't just go "oh this is hard and I'm feeling lazy so let's ask one of the experts to do it for me") post what you've got so far and say why you're stuck, what you're trying to figure out, how the code is going wrong, what input you gave it and any other relevant info.

    We won't do it for you for one simple reason: programming is learnt by DOING programming, not by looking at completed code samples. Think of it this way: like everyone else, your teacher wants an easy life; he's not (just) enjoying torturing you with difficult and unnecessary tasks. If the best way to learn was to look at complete code examples, he would already be giving you those examples and not asking you to write them yourselves.
     
  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    Thread merged
     

Share This Page