Browse Source

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

git-svn-id: branches/i8086@24309 -
nickysn 12 years ago
parent
commit
e107eaea28
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/msdos/prt0.asm

+ 1 - 1
rtl/msdos/prt0.asm

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