Question: Write generic RISC-style code and generic CISC-style code to implement the statement: X = Y + 109. Assume the variables require 32-bit addresses. Just provide

Write generic RISC-style code and generic CISC-style code to implement the statement: X = Y + 109. Assume the variables require 32-bit addresses. Just provide the instructions that are needed; omit any directives. Assume variable A is in register r4, and B is in r5. Variable C can be accessed with a 16-bit address. Write Nios II assembly language for the if statement. if (B lessthanorequalto A) then C = A - B __________ else C = B - A ___________
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
