Project Title
The Shirpur Education Society’s
R. C. PATEL POLYTECHNIC
A MICRO-PROJECT PROPOSAL
Academic Year 2023-24
Class & Branch Second Year Computer Science
Semester Fourth
Name of Subject Microprocessor.
Title of Micro-project “Program to calculate the square of given
number”
Name of Group Members 1. Nerkar parth.
2. Shirsath ramkrushana.
3. chauvan lokesh
Name of Guide Mrs.Y.J.patil
CONTENTS:
1. Brief Introduction to Micro-Project
a simple example of assembly language code for a microprocessor
to calculate the square of a given number. Keep in mind that the
exact code would depend on the specific microprocessor
architecture you are using. As an example, let's consider x86
assembly language for an Intel processor.
The 8086 is a sixteen-bit microprocessor. The term sixteen-bit means that
its arithmetic logic unit, its inner registers, and the maximum of its
commands are meant to work with sixteen-bit binary statistics. The 8086
has a sixteen-bit statistics bus, so it may read data from or write data to
memory and ports both sixteen bits or eight bits at a time
Name of Department-1- R. C. Patel Polytechnic
Project Title
2. Aim of the Micro-Project
This Micro-Project aims at:
i. The microprocessor contains the arithmetic, logic, and control
circuitry required to perform the functions of a computer's central
processing unit (CPU). The IC is capable of interpreting and executing
program instructions and performing arithmetic operations.
ii. It can function as the “brain” of a personal desktop computer. A
computer's microprocessor performs arithmetic and logic operations,
provides temporary memory storage, and times and regulates all
elements of the computer system.
3. Intended Course Outcomes of the Micro-Project
i. Analyze the function block of 8086 microprocessor.
ii. Write assembly language program for the given program.
4. Literature Review
Finding the Square of a Number is a simple method. We need to multiply
the given number by itself to find its square number. The square term is
always represented by a number raised to the power of 2. For example, the
square of 6 is 6 multiplied by 6, i.e., 6×6 = 62 = 36.
Name of Department-2- R. C. Patel Polytechnic
Project Title
5. Proposed Methodology
Algorithm:
1. Assign 20 to register H, 50 to register L and 00 to accumulator A.
2. Load the content of memory location which is specified by M in
register B.
3. Add content of M in accumulator A and decrement value of B by 01.
4. Check if B holds 00, if true then store the value of A at memory
location 3050 otherwise go to step 3.
6. Resources Required
Sr. Quan
Name of Resource/Material Specifications Remarks
No. tity
1. Network
2. Computer
3. Software
4. google
Name of Department-3- R. C. Patel Polytechnic