Created
March 14, 2017 09:28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******* | |
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