* generate 16-bit (instead of 32-bit) instructions for push/pop of a segment

register in an inline asm block on i8086

git-svn-id: trunk@30616 -
This commit is contained in:
nickysn 2015-04-17 00:51:00 +00:00
parent 7315175c32
commit c3515f743f

View File

@ -803,7 +803,11 @@ begin
(opcode=A_POP)) and
(operands[1].opr.typ=OPR_REGISTER) and
is_segment_reg(operands[1].opr.reg) then
{$ifdef i8086}
opsize:=S_W
{$else i8086}
opsize:=S_L
{$endif i8086}
else
opsize:=tx86operand(operands[1]).opsize;
end;