Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 15h Function 89h
 ◄Detail►                                    ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   15h     Function:   89h
 
  Title:       Enter Protected Mode
 
  Description:                                               [AT] [PS/2]
 
     Switches the CPU from real mode into protected mode.
 
     Input                                    Output
 
     AH = 89h                                 If function successful
     BH = Interrupt number for IRQ0,          (CPU is in protected mode)
          written to ICW2 of 8259 PIC #1        Carry flag: clear
          (must be evenly divisible by 8,       AH = 00h
          determines IRQ0-IRQ7)                 CS = User-defined selector
     BL = Interrupt number for IRQ8,            DS = User-defined selector
          written to ICW2 of 8259 PIC #2        ES = User-defined selector
          (must be evenly divisible by 8,       SS = User-defined selector
          determines IRQ8-IRQ15)
     ES:SI = segment:offset of Global         If function unsuccessful
             Descriptor Table (GDT)           (CPU is in real mode)
                                                Carry flag: set
                                                AH = FFh
                                    -♦-