From ASMBits


Write a function named func that returns 123. This implies two things:

  • The return value (in r2) is set to 123 (or 0x7b)
  • Your function returns to the caller (The return address is ra)

If the return value is incorrect, you will see a mismatch in the final contents of r2 = 0000007b. If your function correctly returned to the caller, the final line of output will be "Test completed." Otherwise, not returning to the caller will result in Test did not complete.

Expected solution length: Around 2 lines.

Sample Input


Sample Output


Write your solution here

Upload a source file...