The risc386 package
risc386 is a symbolic Intel(R) 386 assembler interpreter which allows infinitely many registers (temporaries). Its purpose is to debug the output of a MiniJava compiler (from Andrew Appel's book, Modern Compiler Implementation in JAVA) before register allocation has been performed.
risc386 supports only a small fragment of i386 instructions. It expects its input to be a list of procedures in .intel_syntax each of which is started by a label and terminated by a return statement.
Control flow is restricted, so, only jumps to procedure-local labels are allowed. Reading from an uninitialized memory location will lead to an exception.
[Skip to ReadMe]
|Versions||0.0.20130624, 0.0.20130701, 0.0.20130718, 0.0.20130719|
|Change log||None available|
|Dependencies||array (>=0.3 && <0.5), base (>=4.2 && <4.7), containers (>=0.3 && <0.6), mtl (==2.0.* || >=2.1.1 && <2.2), pretty (>=1.0 && <1.2) [details]|
|Author||Andreas Abel with contributions by Robert Grabowski and Ulrich Schoepp|
|Maintainer||Andreas Abel <firstname.lastname@example.org>|
|Uploaded||Tue Jun 25 17:00:29 UTC 2013 by AndreasAbel|
|Downloads||778 total (7 in last 30 days)|
|Status||Docs not available [build log]|
Successful builds reported [all 5 reports]
- risc386-0.0.20130624.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees