Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Bubble sorting an double array of strings and ints in RISC5 / RISC-V? I am trying to write a code for sorting students and their

Bubble sorting an double array of strings and ints in RISC5 / RISC-V?

I am trying to write a code for sorting students and their scores this using bubble sort for 1) name 2) score. So two separate programs. It should work in the online Venus simulator architecture (can google.)

.data Students: .asciiz "Abababl" .word 87 .asciiz "Artl " .word 45 .asciiz "Petel " .word 27 .asciiz "Miller " .word 55 .asciiz "Wills " .word 49 .asciiz "Pahim " .word 90 .asciiz "Losie " .word 90 .asciiz "Katil " .word 59 .asciiz "Kristen" .word 60 .asciiz "Jones " .word 50 howManyStudents: .word 10 .text .globl main main: ####START HERE#### exit: 

addi a1 x0 0 # random exit 0 addi a0 x0 17 # print_int ecall ecall

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions