Suljettu

Need MIPS assembly developer

Write a MIPS assembly program in the MARS simulator that accepts an input string of size less than 40 characters, applies the following decompression algorithm to the string, and then prints the resulting decompressed string. In the input string, if a "#" is encountered, the next byte is interpreted as a number i between 0-255; the output string would then replace the # and its i with i-32 consecutive occurrences of the character "A" (see examples below). If i=32 , then the output string would replace the # and its i with one occurrence of "#". Similarly, "$" corresponds to multiple occurrences of the character "C"; "%" corresponds to multiple occurrences of the character "G"; "&" corresponds to multiple occurrences of the character "T". For all other encountered characters, the output string should simply reproduce that character. We will only test your code with valid inputs, i.e., strings of under 40 characters and i > 31. Keep an ASCII table handy. See the following examples:

Provide an input of less than 40 characters:

4A2#+96$(XY%"TV&&p$ d

The decompressed string is:

4A2AAAAAAAAAAA96CCCCCCCCXYGGTVTTTTTTp$d

Explanation: "#" is followed by "+", which is ASCII 43, so it was replaced by 11 A's. "$" is followed by "(", which is ASCII 40, so it was replaced by 8 C's. "%" is followed by double-quote, which is ASCII 34, so it was replaced by 2 G's. "&" is followed by "&", which is ASCII 38, so it was replaced by 6 T's. "$" is followed by " " (space), which is ASCII 32, so it was replaced by "$".

Provide an input of less than 40 characters:

ab%%& G#)mn

The decompressed string is:

abGGGGG&GAAAAAAAAAmn

Taidot: Assembly, C-ohjelmointi, C++ -ohjelmointi, tietojärjestelmäarkkitehtuuri, x86/x64 Assembler

Näytä lisää: assembly language programmer salary, assembly language job salary, upwork, assembler language, jobs that use assembly language, assembly language programming jobs, write mips assembly program calculate sum floating point numbers, write mips assembly language program mars simulator prompt user string process string character time display specific informatio, solution write test mips assembly language program count letters text file, solution counting words text file finding frequency write test mips assembly language program, mips assembly array strings, code write mips assembly instructions, write text file mips assembly language, need write something company website, write mips assembly program reads integers prints largest

Tietoa työnantajasta:
( 179 arvostelua ) Calcutta, India

Projektin tunnus: #16285792

5 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_18% %project_currencyDetails_sign_sub_19%/tunti tähän työhön

raulbehl

A proposal has not yet been provided

₹555 INR / tunti
(74 arvostelua)
5.7
nevorek

Hi. I can done this task in 2 days for $100. .......................................................

₹111 INR / tunti
(11 arvostelua)
5.0
mastor31

Dear Sir/Madam, I am good in assembly language programming. I did many coding involving array, stack and custom made data structure in MIPS assembly language in MARS IDE. I have done couple of coding in freelance Lisää

₹500 INR / tunti
(16 arvostelua)
4.5
kappDev

Hello. I am good programmer and have good knowledge in assembler programming. Hire me for your job to be done well at low costs

₹333 INR / tunti
(5 arvostelua)
2.1
pruvi007

Well, what makes me the best candidate.. Hmm, i have recently done the Architecture course (Computer Organisation) and have done some serious MIPS coding. So I can be your call.

₹251 INR / tunti
(0 arvostelua)
0.0