[SOLVED] COL216-Assignment 5&6 Adding MIPS Conditional/Unconditional Branch Instructions & Procedure Call Instructions

24.99 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

Rate this product

In this assignment, you will be adding MIPS conditional/unconditional branch instructions and procedure call instructions to the processor designed in Assignment 4. Make appropriate modifications to your code:

  1. Implement the following branch instructions using J-type instruction format: bne, beq, blez, bgtz, j.
  2. Implement the instructions used for procedure calls: jal, jr.
  3. Implement non-leaf procedures (procedures that can call other procedures) using stack.
  4. The stack should be implemented in memory and should grow downwards.
  5. You can assume that a maximum of four arguments can be passed to a procedure.

Once the desired modifications are done, you need to simulate and synthesize the modified VHDL processor model

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.