A just-in-time compiler for MIT 6.004's "Beta" processor.
License
nelhage/bemu
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
This code implements a working Just-In-Time binary translator from the Beta [1] processor to the i386. It supports clock and keyboard interrupts, and correctly executes lab6.uasm, bench[1-4].uasm, and litmus.uasm, as well as Lab 8's operating system [2]. This source is canonically available from github at <http://github.com/nelhage/bemu/>. It should work on just about any modern Linux or Intel OS X system, although it's better tested on Linux. I've tested it on Athena and it works fine there. To run the self-tests, `make test'; To run the lab8 OS, `make run-lab8'. It alsos includes a somewhat hacked version of `uasm' from http://web.mit.edu/6.004/src/posix-src/uasm/, modified to deal with relative includes slightly better, and to support arbitrary-sized ROMs. [1] http://6004.csail.mit.edu/currentsemester/handouts/beta.pdf [2] http://web.mit.edu/6.004/bsim/lab8.uasm
About
A just-in-time compiler for MIT 6.004's "Beta" processor.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published