Synthesizing Optimal 8051 Code
lab.whitequark.org
lab.whitequark.org
This is for instance Go's implementation which is readable and well documented:
https://github.com/golang/go/blob/master/src/cmd/compile/int...
> My chosen approach (thanks to John Regehr for the suggestion) is to implement an interpreter for an abstract 8051 assembly representation in Racket and then use Rosette to translate assertions about the results of interpreting an arbitrary piece of code into a query for an SMT solver.