Enforced code generator functions used registers to avoid overriding previous register values