A hand-coded version of Fibonacci is shown in "test-x86-fibonacci.js". To run a test of fib(40) and show the corresponding listing of the assembly code, run:
./fib.sh
in the codegen directory, assuming the extension made by Marc to d8 has been applied.
I've merged all my changes in the master branch and those are available on the repository. I'll test everything thoroughly for the rest of the day, I've found that it is pretty easy to introduce typo bugs in Javascript ;-).
Erick