* fixed "nil pointer assignment" error in huge memory model

git-svn-id: trunk@31502 -
This commit is contained in:
nickysn 2015-09-03 22:37:01 +00:00
parent 63f86ee6a5
commit 1264eaf8c6

View File

@ -491,8 +491,13 @@ int_number:
%ifndef __TINY__ %ifndef __TINY__
global FPC_CHECK_NULLAREA global FPC_CHECK_NULLAREA
FPC_CHECK_NULLAREA: FPC_CHECK_NULLAREA:
%ifdef __HUGE__
mov ax, DGROUP
mov es, ax
%else
push ds push ds
pop es pop es
%endif
xor di, di xor di, di
mov cx, 32 mov cx, 32
mov al, 1 mov al, 1