The following assembly programs have to be implemented in the RISC-V simulator: Accept a string of length
Fantastic news! We've Found the answer you've been seeking!
Question:
The following assembly programs have to be implemented in the RISC-V simulator: Accept a string of length n form the user. the string should have an arbitrary number of zeros spread over it for example: "000comp0u000te0r" or "c0m00puter00" etc. Write a program in assembly to extract all the zeros from the string and then print it on the console without any zeros.Also output the number of zeros extracted. please do it in risc-v
Related Book For
Fundamentals of Ethics for Scientists and Engineers
ISBN: 978-0195134889
1st Edition
Authors: Edmund G. Seebauer, Robert L. Barry
Posted Date: