|
@@ -227,9 +227,7 @@ interface
|
|
|
|
|
|
if right.location.loc in [LOC_REFERENCE,LOC_CREFERENCE] then
|
|
|
begin
|
|
|
- if is_ref_ix_d(right.location.reference) or
|
|
|
- is_ref_iy_d(right.location.reference) or
|
|
|
- is_ref_hl(right.location.reference) then
|
|
|
+ if is_ref_in_opertypes(right.location.reference,[OT_REF_IX_d,OT_REF_IY_d,OT_REF_HL]) then
|
|
|
begin
|
|
|
cg.getcpuregister(current_asmdata.CurrAsmList,NR_A);
|
|
|
cg.a_load_loc_reg(current_asmdata.CurrAsmList,def_cgsize(left.resultdef),left.location,NR_A);
|
|
@@ -275,9 +273,7 @@ interface
|
|
|
|
|
|
if right.location.loc in [LOC_REFERENCE,LOC_CREFERENCE] then
|
|
|
begin
|
|
|
- if is_ref_ix_d(right.location.reference) or
|
|
|
- is_ref_iy_d(right.location.reference) or
|
|
|
- is_ref_hl(right.location.reference) then
|
|
|
+ if is_ref_in_opertypes(right.location.reference,[OT_REF_IX_d,OT_REF_IY_d,OT_REF_HL]) then
|
|
|
begin
|
|
|
cg.getcpuregister(current_asmdata.CurrAsmList,NR_A);
|
|
|
cg.a_load_loc_reg(current_asmdata.CurrAsmList,def_cgsize(left.resultdef),left.location,NR_A);
|