Added arguement to LookupLabel that allows an alternate register to be passed for the lookup.
Replaced REF with more approiate generated code