mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 15:49:26 +02:00
* fixed "nil pointer assignment" error in huge memory model
git-svn-id: trunk@31502 -
This commit is contained in:
parent
63f86ee6a5
commit
1264eaf8c6
@ -491,8 +491,13 @@ int_number:
|
||||
%ifndef __TINY__
|
||||
global FPC_CHECK_NULLAREA
|
||||
FPC_CHECK_NULLAREA:
|
||||
%ifdef __HUGE__
|
||||
mov ax, DGROUP
|
||||
mov es, ax
|
||||
%else
|
||||
push ds
|
||||
pop es
|
||||
%endif
|
||||
xor di, di
|
||||
mov cx, 32
|
||||
mov al, 1
|
||||
|
Loading…
Reference in New Issue
Block a user