mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 03:10:42 +01:00
* don't push cs in ti8086callnode.extra_interrupt_code in the far code memory
models, because in these models, interrupt procedures are treated as far and an appropriate far call (or push cs+near call if in the same segment) is made anyway git-svn-id: trunk@27622 -
This commit is contained in:
parent
70a7ecd0fa
commit
8a606761cd
@ -60,7 +60,8 @@ implementation
|
||||
procedure ti8086callnode.extra_interrupt_code;
|
||||
begin
|
||||
emit_none(A_PUSHF,S_W);
|
||||
emit_reg(A_PUSH,S_W,NR_CS);
|
||||
if current_settings.x86memorymodel in x86_near_code_models then
|
||||
emit_reg(A_PUSH,S_W,NR_CS);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user