80x86 microprocessor assembler programs

Note: These programs are on the public domain. They contain both the source code and the executable (with no virus, of course!!). If you have any comment, please fill the form.

  1. Prime numbers: Multitasking program that shows how to program in protected mode of the Intel 80386 microprocessor in assembly language. It shows how to use the system tables, protected-mode interrupts, passing from real mode to protected mode and vice versa. To run this program the computer must be in MS-DOS mode (it only runs in real mode and not in virtual-86 mode). Another option is to run it from a bootable diskette. Comments are written in Spanish.

  2. Pi and natural logarithm of 2: This program computes the number PI as well as the natural logarithm of 2 very quickly. It runs in any 8086-family processor. Using an 80386 o later and with a XMS driver, this program is able to compute any number of digits of Pi, being limited only by the number of bytes free in extended memory. The program is partially commented in Spanish.

  3. Pi, natural logarithm of 2 and e (using DPMI): This program computes the number PI as well as the natural logarithm of 2 faster than the XMS method. You can see the results in any of the radices 2-36. This program computes also the value of number e.

    It needs an 80386 or later and a DPMI (DOS Protected Mode Interface) server, for example Windows or OS/2.

  4. Small examples of protected mode assembler programming (sources and executables in Spanish). Press here.

    My first programs

  5. Skiing: This was the first program I wrote in 8088 assembly language.

  6. Sound: This was the first TSR I wrote. When it is installed, pressing a key causes the speaker to beep to a pitch which depends on the key.