MLR Institute of Technology
MLR Institute of Technology
MLR Institute of Technology
Micro
project Report
Subject:MPMC
A.Y:2014-15
Faculty Name :D.NARESH KUMAR
Title of the Project: sum of squares
Team Members Details:3
HT.NO.
NAME
Department/Year
12R21A04G9
SK.Adil
III ECE
12R21A04H2
V.Chandrasekhar
reddy
D.Srinadh
III ECE
13R25A0409
III ECE
registers ,AX to DS
Copy offset address of Num1 to SI
Copy NUM2 to CX register
Clear the BX register by copying each
Copy the contents of SI to AL register
Multiply accumulator content with AL
Add BX registers and AX registers
Increment SI
The
S.No
1.
Activity
Date
Mathematical model
definition
2/01/2015
2.
Algorithm
9/02/2015
3.
Programme
13/03/2015
4.
5.
Compiling The
Programme With
Inputs (Test Cases)
Final Excution
24/03/2015
26/03/2015
MASM SOFTWARE
Problem Explanation (with Figures ):
Assume cs:code, ds:data
Data segment
Num1 db 04h,03h,02h,01h
Num2 dw 0004h
Data ends
Code segment
Start:mov ax,data
Mov ds,ax
Mov bx,0000h
Ii:
mov al,[si]
Mul al
Add bx,ax
Inc si
Loop li
Int 03h
Code ends
End start
Application
References : Ray, A. K.; Bhurchand, K.M.
MLR Institute of
Technology
Laxma Reddy Avenue, Dundigal, Quthbullapur (M),
APPLICATIONS
Simple example
A statistical technique used in regression analysis.
Thank You