- rm the unnecessary jnz instruction before the rep stosb in the i8086-msdos startup code, because the rep prefix checks for cx=0 and skips the stosb instruction anyway

git-svn-id: trunk@25638 -
This commit is contained in:
nickysn 2013-10-04 13:36:24 +00:00
parent 6c0581da49
commit 8f8bd8b12d

View File

@ -48,11 +48,9 @@
mov di, _edata wrt dgroup
mov cx, _end wrt dgroup
sub cx, di
jz no_bss
xor al, al
cld
rep stosb
no_bss:
; save the Program Segment Prefix
push ds