* 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:
nickysn 2015-10-05 19:59:15 +00:00
parent 8751e8bb3e
commit 792b7e67be

View File

@ -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