|
@@ -714,10 +714,7 @@ interface
|
|
|
begin
|
|
|
current_asmdata.getjumplabel(l1);
|
|
|
hlcg.a_cmp_const_reg_label(current_asmdata.CurrAsmList,resultdef,OC_EQ,0,location.register,l1);
|
|
|
- { todo: consider adding far pointer support to hlcg.a_op_const_reg for i8086 (i.e. perform the
|
|
|
- arithmetic operation only on the offset), then the next line can be converted to the
|
|
|
- high level code generator as well }
|
|
|
- cg.a_op_const_reg(current_asmdata.CurrAsmList,OP_ADD,OS_ADDR,ImplIntf.ioffset,location.register);
|
|
|
+ hlcg.a_op_const_reg(current_asmdata.CurrAsmList,OP_ADD,resultdef,ImplIntf.ioffset,location.register);
|
|
|
break;
|
|
|
end;
|
|
|
else
|