bubble sort in assembly language!!!!!!

This is a discussion on bubble sort in assembly language!!!!!! within the C++ Programming forums, part of the General Programming Boards category; Perform a bubblesort in assembly language. At the start of the program, using C/C++ output functions, output a program identifier ...

  1. #1
    lorenzohhh
    Guest

    bubble sort in assembly language!!!!!!

    Perform a bubblesort in assembly language. At the start of the program, using C/C++ output functions, output a program identifier that includes your name to the screen. (Example: "Bubblesort Program by Jon Lovegren".) Using an assembly language LOOP and C/C++ I/O, create appropriate user prompts and input 10 numbers from the keyboard into an array variable numbers_abc (where abc = your initials). Using the same algorithm you used in the first program, build the bubblesort routine in assembly language and sort the numbers in ascending order. Put the sorted numbers into an array sorted_abc (where abc = your initials). Using an assembly language LOOP and C/C++ I/O, display the both the original unsorted numbers and sorted numbers. Identify each set of numbers and put each set on a single line separated by commas, as shown below.

    Unsorted Array: 192, 8236, 10, 7, 456, 99, 1, 17, 213, 99

    Sorted Array: 1, 7, 10, 17, 99, 99, 192, 213, 456, 8236

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    is this a homework assignment?
    this kind of thing can be found all over the net. try the ai site link from the cprogramming.com front page, and follow it to a sorting link.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. Replies: 2
    Last Post: 05-13-2009, 03:25 PM
  3. Psuedo random numbers in a bubble sort.
    By Sir Andus in forum C++ Programming
    Replies: 10
    Last Post: 04-09-2007, 08:25 PM
  4. bubble sort help.
    By zeromx in forum C Programming
    Replies: 9
    Last Post: 10-30-2006, 06:37 AM
  5. Bubble sort
    By Lionmane in forum C Programming
    Replies: 5
    Last Post: 07-09-2005, 11:30 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21