1. Write a MIPS program that calculates the sum of all positive numbers of an 1-D array. Your .data section should have an example. You are allowed to define the array length in the .data section.
2. Write a MIPS program that prints the position of the bigger element of an 1D array. Your .data section should have an example. You are allowed to define the array length in the .data section.
3. Write a program in assembly that will print Floyd's triangle. The number of rows should be defined in the .data section.
Alice accused Bob that he's not good at practical jokes. Bob was devastated, despite the fact that she was clearly joking. Later, Alice said sorry in their bilateral chat, and asked how he's feeling about her -- is it goodbye or just a silly fight? After a few minutes, she gets a message from Bob, but it's just some (43 to be exact) numbers in a row...
101 121 121 125 126 55 34 34 122 122 122 35 116 98 120 121 120 111 104 35 110 98 96 34 122 108 121 110 101 50 123 48 105 92 122 57 122 52 90 106 85 110 92
She thinks twice and suspects that Bob's main obsessions, MIPS and the number 13, can play a role in decrypting the message. But she doesn't know MIPS...
Write a MIPS program that will make her understand how Bob is feeling. Does Bob still love her? Don't let her down!!
4. After their fight, Alice and Bob are now speaking again. To show his feelings, Bob wrote a poem and gave it to Alice, saying that this poem and some magical numbers will be the key to a beautiful melody. However, Bob does not know any musical instrument. He only knows assembly, and he also thinks he's good at speaking Early Modern English (although others do not agree, but that's irrelevant), as seen in the poem:
If music thou wouldst grant to thee,
Then thrice on eleven must thy syscall be.
Fourteen notes in all, as thou shalt find
Their pitch and time in lists assigned
These shalt thou play, then once again,
Repeat, repeat, full ten times ten.
Let trumpet sound, its number be
The noble voice of fifty-eight, ye see.
Now mark thou well the strength of sound,
But heed nop buffer sizes unbound
A thousand still may fall to naught,
Yet one hundred twenty-seven should be sought.
When all’s complete and still thou art unbent,
Use syscall ten—and thus our tale is spent
72, 74, 74, 76, 79, 77, 76, 74, 72, 74, 67, 67, 69, 72
779, 1306, 779, 779, 122, 122, 122, 122, 779, 1306, 1701, 122, 122, 122
Alice is not sure what to do, and asks for your help. Write a program that will help her understand.
The assessment is designed to evaluate students’ understanding and practical skills in MIPS assembly programming through multiple tasks involving array manipulation, control flow, and problem-solving in creative, real-world-inspired scenarios. Key tasks include:
The assessment emphasizes:
Shows how to incrementally print numbers and newlines using syscalls.
Provides debugging strategies for common errors like incorrect indexing, overflow, or incorrect syscall codes.
This helps clarify thought process for assessment marking.
Looking to understand how a MIPS assembly assignment is solved step by step? Our sample solution provides a complete reference to guide your learning, including array operations, loops, and syscall implementations.
Remember: This sample is for reference only. Submitting it as your own work is considered plagiarism and can seriously affect your academic standing.
If you want a fully original, plagiarism-free assignment, our team of professional academic writers can craft a solution tailored to your exact requirements. Ordering a fresh solution ensures:
Choose the way you want to learn or submit:
Download Sample Solution Order Fresh Assignment
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.