mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 16:19:28 +02:00
* treat the len parameter to the i8086 versions of IndexByte and IndexWord as
unsigned, like the other platforms do git-svn-id: trunk@31954 -
This commit is contained in:
parent
8751e8bb3e
commit
792b7e67be
@ -167,7 +167,7 @@ asm
|
||||
mov bx, sp
|
||||
mov cx, ss:[bx + 4 + extra_param_offset] // len
|
||||
or cx, cx
|
||||
jle @@NotFound
|
||||
jz @@NotFound
|
||||
{$ifdef FPC_X86_DATA_NEAR}
|
||||
mov di, ss:[bx + 6 + extra_param_offset] // @buf
|
||||
mov ax, ds
|
||||
@ -201,7 +201,7 @@ asm
|
||||
mov bx, sp
|
||||
mov cx, ss:[bx + 4 + extra_param_offset] // len
|
||||
or cx, cx
|
||||
jle @@NotFound
|
||||
jz @@NotFound
|
||||
{$ifdef FPC_X86_DATA_NEAR}
|
||||
mov di, ss:[bx + 6 + extra_param_offset] // @buf
|
||||
mov ax, ds
|
||||
|
Loading…
Reference in New Issue
Block a user