unfortunately the reg instances are spread across instructions this causes problems when setting them
fix and use load_data (similar to load_constant) and integrate into load_object when appropriate (ie for integers)