mirror of https://github.com/FDOS/kernel.git
(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:
parent
7eb9514377
commit
2aa4789bfc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue