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:
“The dramatic art would appear to be rather a feminine art; it contains in itself all the artifices which belong to the province of woman: the desire to please, facility to express emotions and hide defects, and the faculty of assimilation which is the real essence of woman.”
—Sarah Bernhardt (18451923)
“Yours of the 24th, asking the best mode of obtaining a thorough knowledge of the law is received. The mode is very simple, though laborious, and tedious. It is only to get the books, and read, and study them carefully.... Work, work, work, is the main thing.”
—Abraham Lincoln (18091865)