INT (x86 Instruction) - Real Mode

Real Mode

When generating a software interrupt, the processor calls one of the 256 functions pointed to by the interrupt address table, which is located in the first 1024 bytes of memory while in real mode (See Interrupt vector). It is therefore entirely possible to use a far-call instruction to start the interrupt-function manually after pushing the flag register.

One of the most useful DOS software interrupts was interrupt 0x21. By calling it with different parameters in the registers (mostly ah and al) you could access various IO operations, string output and more.

Most Unix systems and derivatives do not use software interrupts, with the exception of interrupt 0x80, used to make system calls. This is accomplished by entering a 32-bit value corresponding to a kernel function into the EAX register of the processor and then executing INT 0x80.

Read more about this topic:  INT (x86 Instruction)

Famous quotes containing the words real and/or mode:

    When much intercourse with a friend has supplied us with a standard of excellence, and has increased our respect for the resources of God who thus sends a real person to outgo our ideal; when he has, moreover, become an object of thought, and, whilst his character retains all its unconscious effect, is converted in the mind into solid and sweet wisdom,—it is a sign to us that his office is closing, and he is commonly withdrawn from our sight in a short time.
    Ralph Waldo Emerson (1803–1882)

    The love of their country is with them only a mode of flattering its master; as soon as they think that master can no longer hear, they speak of everything with a frankness which is the more startling because those who listen to it become responsible.
    Marquis De Custine (1790–1857)