Browse Source

* do not save bx, cx, si and di in the msdos and intr functions, as preserving them isn't required for the pascal calling convention

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

+ 0 - 8
rtl/msdos/prt0.asm

@@ -102,11 +102,7 @@ FPC_INTR:
         mov al, byte [ss:bp + 6]
         mov byte [cs:int_number], al
         push es
-        push di
-        push bx
-        push cx
         mov si, [ss:bp + 4]
-        push si
         push ds
         mov ax, word [si + 16]
         mov es, ax
@@ -150,10 +146,6 @@ int_number:
         mov word [si + 18], ax
         
         pop ds
-        pop si
-        pop cx
-        pop bx
-        pop di
         pop es
         pop bp
         ret 4