Remove constants from generated functions and wrap in all in a closure
Inline register assigning instructions and simplify 0xDD and 0xFD prefixed opcodes