The document outlines a practical exercise in assembly language programming focused on creating a program to find the sum of a series using loop instructions. It includes details on the significance of the practical, expected outcomes, required resources, and precautions to follow. Additionally, it provides a sample assembly code and explanations of loop instructions used in the program.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0 ratings0% found this document useful (0 votes)
11 views7 pages
Mic Manual 8
The document outlines a practical exercise in assembly language programming focused on creating a program to find the sum of a series using loop instructions. It includes details on the significance of the practical, expected outcomes, required resources, and precautions to follow. Additionally, it provides a sample assembly code and explanations of loop instructions used in the program.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 7
oy
Jove errr ccc ee
croprocessor Programing Course Code: 14521
Practical No. 8: ALP to find sum of series
1 Practical Significance
In some industrial applications of assembly language programming, itis required to repeat group of
instructions for specific number of times such as providing time delay while generating waves such
as square, tangular, saw tooth ete Students will bevable to implement loop by using, variants of
Jump instructions. | ¥
Il Industry/Employer Expected oul
Develop assenibly ingiinge program
Course Level Learning outcon
co, ne ‘an soon
Vv
f utg) 18.3. Writean assembly nage ale
vi) i Rejevant Affective Domain Related ¢ Outcomes
jt 1 alee yt oe eS
2 strate ae. fer? m as: \ \
i = le Follow ethied practices! oes | \=| \
vI “Setevantt Theoretical ee ,
\ tt series or aay of nob which are stored inthe m ney is
' fd counter which indicate length | a5 js required 1b read
stadito may be greater than either 8 bigor 1Gbit
|
Loop Instructions
Instruction
LOOP Label. 7
LOOPZALOOPE Label
LOOPNZ/LOOPNE Label
JCXZ label be Jump to target
Y ar
VII_ Required resources
S. | Instrument /Object__ [ Specification: =~] Quantity | Remarks
No. ————
1. | Desktop PC Pentium IV or above with | _1No. | Whichever is available
Keyboard, Mouse, Monitor | _/Group
Taitor MS-DOS EDIT or Notepad | I No. | Whichever is available
Group
3. [| Asembler MASM or TASM TNo. | Whichever is available
sGroup
‘Miarasira State Hoard of Technical Bducatfon CK" Scheme) is
vor TLINK (Group,
+ [Linker TINK Grows
orTD 1Grouy
3. | Debugger Debug |_/Group_|
VIIL_ Precautions to be followed vith care
Is Tlanle compotersystentandpsipberals
2. Follow safety practi re) ¥ Tr Sia MCE Ovid o
IX Proced a cf)
r ‘wie arian ja lower F660 aca
more,
4 icon.
Double clip mon OSHOX TASM 1
lente ast prompt and pr
“Type. t ro
ee the assem
6. Type tlink filename.obj or
AS Miéname exe file.
AAuxiliary Cany Fag art
Interrupt Flag 7D
SP =
DS dan
cy 0 F60H>* >,
55 oFdin 4
(J oF4dn~|
P 0000
2. Observe and write the contents of memory location i
‘Table 8.2: Contents of memory locatio
‘Maharshre State Board of Technical Education CRY Shemayss
a
Se tJ
8 PYSOLT 4
a DOIN SAME yy |
a - i
ST Nol DBAS, ded dM, S05
so} —SERTES. 2 Count VB oth - mee
tt Beane