Explorar o código

- do not initialize the flags register on entry to the interrupt in the Intr/MsDos procedure (which is the TP-compatible behavior)

git-svn-id: branches/i8086@24058 -
nickysn %!s(int64=12) %!d(string=hai) anos
pai
achega
102f929e99
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      rtl/msdos/prt0.asm

+ 0 - 3
rtl/msdos/prt0.asm

@@ -44,8 +44,6 @@ FPC_INTR:
         mov si, dx
         mov ax, word [si + 16]
         mov es, ax
-        mov ax, word [si + 18]  ; flags
-        push ax
         mov ax, word [si + 14]  ; ds
         push ax
         mov ax, word [si]
@@ -57,7 +55,6 @@ FPC_INTR:
         mov si, word [si + 10]
         
         pop ds
-        popf
         db 0CDh  ; opcode of INT xx
 int_number:
         db 255