Parcourir la source

* a slight optimization in the MsDos routine (mov al instead of ax)

git-svn-id: branches/i8086@24309 -
nickysn il y a 12 ans
Parent
commit
e107eaea28
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      rtl/msdos/prt0.asm

+ 1 - 1
rtl/msdos/prt0.asm

@@ -89,7 +89,7 @@ FPC_MSDOS_CARRY:
         stc
         global FPC_MSDOS
 FPC_MSDOS:
-        mov ax, 21h
+        mov al, 21h  ; not ax, because only the low byte is used
         pop dx
         pop cx
         push ax