Przeglądaj źródła

- 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 -
nickysn 12 lat temu
rodzic
commit
8f8bd8b12d
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      rtl/msdos/prt0stm.asm

+ 0 - 2
rtl/msdos/prt0stm.asm

@@ -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