
Computer Architecture
Presentation
•
Computers
•
University
•
Hard
Jasmine Sharon
Used 4+ times
FREE Resource
11 Slides • 3 Questions
1
COMPUTER ARCHITECTURE
Priyanka R
I.B.Sc.Computer Science
2
FIND THE LARGEST AND THE SMALLEST ELEMENT IN AN ARRAY
3
SYNOPSIS
Aim
Algorithm
Source code
Input
Output
Result
4
AIM
To write an assembly language program for finding the largest and smallest element of an array using 8085.
5
ALGORITHM
Maximum number is stored in B register and Minimum number is stored in C register.
Load counter in D register.
Load starting element in accumulator, B and C register.
Compare accumulator with B register.
If carry flag is not set then transfer contents of accumulator to B. Else, compare accumulator with C register. If carry flag is set, transfer content of accumulator to C.
6
ALGORITHM
Decrement D register.
If D>0 take next element in accumulator and go to point 4.
If D=0,store B and C register in memory.
End of the program.
7
SOURCE CODE
8
INPUT
9
OUTPUT
10
RESULT
Thus, the program to find the largest and the smallest element in an array was executed.
11
Multiple Choice
The AC flag denotes
Auxiliary Carry
Accumulator
12
Multiple Choice
The expansion of MVI
Move
Move Immediate
13
Multiple Choice
The flag P denotes
Parity
Partial
14
COMPUTER ARCHITECTURE
Priyanka R
I.B.Sc.Computer Science
Show answer
Auto Play
Slide 1 / 14
SLIDE
Similar Resources on Wayground
11 questions
Real Numbers and the Number Line
Presentation
•
University
11 questions
Lesson: Counting Subatomic Particles
Presentation
•
12th Grade
11 questions
What is Quizizz?
Presentation
•
KG - Professional Dev...
7 questions
The Magic of Chemical Reactions
Presentation
•
KG - University
10 questions
Routing Algorithms
Presentation
•
University
10 questions
Describing and classifying matter (6th and 3rd)
Presentation
•
6th - 9th Grade
10 questions
Signal descriptions of 8086
Presentation
•
University
10 questions
Road to My Dream Campus
Presentation
•
University
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade
Discover more resources for Computers
36 questions
8th Grade US History STAAR Review
Quiz
•
KG - University
25 questions
Spanish future tense
Quiz
•
10th Grade - University
55 questions
Post Malone Addtion (Tres)
Quiz
•
12th Grade - University
15 questions
Quotation Marks vs. Italics for MLA
Quiz
•
9th Grade - University
20 questions
Disney Trivia
Quiz
•
University
50 questions
AP Biology Exam Review 2017
Quiz
•
11th Grade - University
215 questions
8th Physical Science GA Milestones Review
Quiz
•
KG - University
20 questions
Ch15_review_TEACHER
Quiz
•
University