计算机代写 Part J: Assembly Language, part 1 (12 marks) – cscodehelp代写
Part J: Assembly Language, part 1 (12 marks)
In the spaces provided below, write the assembly language instruction(s) that perform the following tasks. Full marks will only be given for one-instruction answers. Do not use pseudo- instructions in your solutions.
a) Set register $t0 to 0 if register $s0 is even, and 1 if $s0 is odd. (3 marks)
b) Invert all the bits of $a0. (3 marks)
Copyright By cscodehelp代写 加微信 cscodehelp
c) Jump to address 0x00000000 in memory. (3 marks)
d) Set $t0 to half the value of $t1. (3 marks)
Student Number: __________________ 14 (continued)
程序代写 CS代考 加微信: cscodehelp QQ: 2235208643 Email: kyit630461@163.com