* load the destination segment in tcg8086.g_copyvaluepara_openarray from SS

instead of DS, because the destination is on the stack, but in some memory
  models DS may be different than SS

git-svn-id: trunk@27391 -
This commit is contained in:
nickysn 2014-03-30 19:10:21 +00:00
parent 070955bcd0
commit 1f8280e8f1

View File

@ -1861,7 +1861,7 @@ unit cgcpu;
list.concat(Taicpu.Op_reg_reg(A_MOV,S_W,NR_SP,NR_DI));
{$ifdef volatile_es}
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_DS));
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_SS));
list.concat(taicpu.op_reg(A_POP,S_W,NR_ES));
{$endif volatile_es}