0% found this document useful (0 votes)
24 views

Microprocessor As Sigh Nment

This document is a project report submitted by a group of 6 students for their Microprocessor and Assembly Language Programming course. It details an emulator they developed for an 8086 array implementation. The project contains code to find the maximum and minimum numbers in a given array list. For the maximum number, it loads each element and compares it to the current maximum, updating it if a larger number is found. For the minimum number, it uses the same approach but compares if the current element is less than the stored minimum.

Uploaded by

ayuendu65
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Microprocessor As Sigh Nment

This document is a project report submitted by a group of 6 students for their Microprocessor and Assembly Language Programming course. It details an emulator they developed for an 8086 array implementation. The project contains code to find the maximum and minimum numbers in a given array list. For the maximum number, it loads each element and compares it to the current maximum, updating it if a larger number is found. For the minimum number, it uses the same approach but compares if the current element is less than the stored minimum.

Uploaded by

ayuendu65
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Microprocessor Project

BORANA UNIVERSITY

COLLAGE OF NATURAL AND COMPUTATIONAL SCIENCE

DEPARTEMENT OF COMPUTER SCIENCE

Course title: Microprocessor and Assembly Language Programming

Course code: CoSc 3025

Project title: Emulator of 8086 array implementation

Group member

No Name ID No
1 Abdiliziz Reshad BRU/R/010/2013E.C
2 Ayenew Endalew BRU/R/106/2013E.C
3 Brikie Tsega BRU/R/156 /2013E.C
4 Desaleng Mekuria BRU/R/186/2013E.C
5 GatluakThalow BRU/R/245/2013E.C
6 Getaye Mihiret BRU/R/259/2013E.C

Submitted to Guyita.G

Submission date 29/05/2023

Compiled by Group 5
Page 1
Microprocessor Project

1.To Find out A maximum Number Given Array List


data segment
list db 06h,09h,39h,04h,20h
n1 db 04h
result db 1 dup(0)
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
lea si,list
mov cl,n1
mov al,00h
mov al,[si]
inc si
back:
cmp al,[si]
jnc next
mov al,[si]
next:
inc si
dec cl
jnz back
mov result,al
hlt
code ends
end start

Compiled by Group 5
Page 2
Microprocessor Project

2.To Find out a Minimum number a Given array List


data segment
list db 06h,09h,39h,04h,20h
n1 db 04h
result db 1 dup(0)
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
lea si,list
mov cl,n1
mov al,00h
mov al,[si]
inc si
back:
cmp al,[si]
jc next
mov al,[si]
next:
inc si
dec cl
jnz back
mov result,al
hlt
code ends
end start

Compiled by Group 5
Page 3

You might also like