mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-01 08:26:16 +02:00
* fixed ds corruption in CompareWord in far data memory models
git-svn-id: trunk@32040 -
This commit is contained in:
parent
7ed7b090fe
commit
4fe125d779
@ -337,7 +337,7 @@ asm
|
||||
xor ax, ax // initialize ax=0 (it's the result register, we never use it for anything else in this function)
|
||||
mov bx, sp
|
||||
mov cx, ss:[bx + 2 + extra_param_offset] // len
|
||||
jcxz @@Equal
|
||||
jcxz @@Done
|
||||
|
||||
mov dx, ds // for far data models, backup ds; for near data models, use to initialize es
|
||||
{$ifdef FPC_X86_DATA_NEAR}
|
||||
|
Loading…
Reference in New Issue
Block a user