[url removed, login to view]
hi i have other project that needs tobe done ASAP
here it is can you do it
For this part of the homework, you need to work alone. Extend homework 6a by introducting two new opcodes.
Opcode  should implement a right barrel shift similar to opcode . The correspondent register transfer instruction should look like...
ri <- sbr(rj)
where the value of register $rj is circularly shifted right by one bit and then saved into register $rj.
Opcode  should perform 16 bit addition with the register values holding an address that is the low byte of the 16 bit operands. The correspondent register transfer instruction should look like...
MEM[rj] <- MEM[rj] + MEM[rk]
where the 16 bit addition is done between the integer values pointed by addresses in register $rj and register $rk. The result is then saved at the address pointed by register $rj.
Submit the ucode file along with a testing mem file. Be sure to include significative comments in both the files (your grade also depends by how you are able to show that the operations work properly).