Open aidanfoss opened 3 weeks ago
Instructions consuming values on the s_rs and s_rt signals in the ID stage: Arithmetic and Logical Instructions:
add, addi, addiu, addu
sub, subu
and, andi
or, ori
xor, xori
nor
slt, slti Shift Instructions:
sll, srl, sra
sllv, srlv, srav Memory Access Instructions:
lw, lh, lhu, lb, lbu, sw Control Flow Instructions:
jr, bne, beq
Signal Usage:
Instructions: add, addi, addiu, addu, sub, subu, and, andi, or, ori, xor, xori, nor, sll, srl, sra, sllv, srlv, srav
- These instructions use signals on the s_rs and s_rt inputs.
- The immediate (I) variants also utilize the imm signal.
Instructions: slt, slti, lw, lh, lhu, lb, lbu
- These instructions consume signals.
Instructions producing values on the ALU Result signal in the execute stage:
Instructions producing/using values on the mem data signal in the memory stage:
Instructions producing values on the branchLogic signal going into the fetch logic unit:
Instructions producing values on the JumpLogic and JregLogic signals going into the fetch logic unit: