Bugfixes in JIT compiler
Refactor register configuration