eadral / mars_buaa Goto Github PK
View Code? Open in Web Editor NEWMars for Computer Organization course in Beihang University
Mars for Computer Organization course in Beihang University
在无流水线延迟槽的设置下运行如下的汇编程序,当执行到第 12 行 beq $t3 $t4 b2
(机器码为 116c0002
,PC 地址为 00003020
)的分支指令时,由于 $t3
和 $t4
不相等因此应顺序执行下一行的 b1: sw $t3 8
,此指令可产生一个写入 DM 的行为,但在此版本的 Mars 中,执行完 beq
之后直接执行了 j end1
,紧邻 beq
的 sw
指令被跳过了,导致该 Mars 的输出结果不正确。
发生该 bug 的汇编程序如下:
test1.asm.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.