* 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 -
This commit is contained in:
nickysn 2013-04-23 12:37:28 +00:00
parent 926dd1b41e
commit ff5091cfb8

View File

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