Skip to content

Instantly share code, notes, and snippets.

@chuan044066
Created March 14, 2017 09:28
/*******
author : 吳永全
GitHub ID : chuan044066
date :2017/3/14
*******/
1. 無法寫入 rd 暫存器,
addi $s2, $zero, 2
addi $s1, $zero, 2 皆無法寫入 $s2 $s1
2. rs無法forwarding給beq的rs
3. 無法計算出branch的跳躍目的位址
改成:
addi $s2, $zero, 2
addi $s1, $zero, 2
beq $s1, $s2, exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment