(From Arkady) Avoid "shr cx,4" (it doesn't work on the 8088)

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@869 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2004-04-13 10:58:06 +00:00
parent 7eb9514377
commit 2aa4789bfc
1 changed files with 4 additions and 3 deletions

View File

@ -137,9 +137,10 @@ kernel_start:
mov ax,cs
mov dx,__InitTextStart wrt HMA_TEXT
%ifdef WATCOM
mov cx,dx
shr cx,4
add ax,cx
mov si,dx
mov cl,4
shr si,cl
add ax,si
%endif
mov ds,ax
mov cx,-2 + init_end wrt INIT_TEXT