12th LSI Design ContestsEin Okinawa  Design Specification - 6

7. Bubble Sort Program

The Bubble Sort program does sorting data on 8 word starting at address of 256. The starting address is stored in data memory of address=384. The size of data size, that is, the size of the array is stored in data memory of address=388. In this example, 32 bytes is stored. 32 bytes means 8 words. The address of 392 stores 4 that is, number of bytes in word.

Table 5: Given Data RAM contents for Bubble Sort

        


Table 6: Given Instruction ROM contents for Bubble Sort

        

<<Back                 Next>>