Linear Equations Plotter using 8086 Microprocessor

Shreya Rastogi
3 min readMay 25, 2021

--

This blog will give you an idea of how to make a mini GUI project on an 8086 microprocessor.

What is 8086 Microprocessor?

8086 Microprocessor is an enhanced version of the 8085 Microprocessor that was designed by Intel in 1976.

It is a 16-bit Microprocessor having 20 address lines. Here, 16 data lines provide up to 1MB storage. It consists of a powerful instruction set, which provides operations like multiplication and division easily.

Project Description

The aim of the project is to —

Make a Linear Equations plotter using 8086 Microprocessor and plot 6 linear equations taking input from the user.

Software Requirements: emu8086

Emu8086 is an 8086 emulator that incorporates an editor and compiler that allows us to run programs designed for the architecture of this microprocessor.

This is how the GUI of the program looks like:

The front page of the GUI Project

The following linear equations can be made in this project:

Here, we will select the number of which linear equation we want to plot:

  1. y = b

Here, we entered the value of b as 4 such that our equation is y = 4.

2. y = -b

Here, we entered the value of b as 4 such that our equation is y = -4.

3. y = -mx + b

Here, we entered the value of slope m as 3 and b as 5 such that our equation is y = -3x + 5.

4. y = mx - b

Here, we entered the value of slope m as 5 and b as 3 such that our equation is y = 5x - 3.

5. y = -mx - b

Here, we entered the value of slope m as 2 and b as 3 such that our equation is y = -2x - 3.

6. y = mx + b

Here, we entered the value of slope m as 4 and b as 1 such that our equation is y = 4x + 1.

The source code can be found on my GitHub account: Link

--

--