
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
10 questions
MC Test 2.2 Study Guide
Presentation
•
12th Grade - University
11 questions
Author's Purpose and Style
Presentation
•
12th Grade - University
7 questions
Translation and interpretation
Presentation
•
University
15 questions
New Electron Models
Presentation
•
9th - 12th Grade
10 questions
DEMOCRACY
Presentation
•
12th Grade
9 questions
Checking Account Balancing
Presentation
•
12th Grade
9 questions
Module 2 Lesson 2B: Creating your RESUME
Presentation
•
12th Grade
9 questions
Gamification in Language Learning
Presentation
•
University
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Soup, Salad, or Sandwich?
Quiz
•
1st Grade - Professio...
20 questions
Disney Trivia
Quiz
•
University
8 questions
Extracted Quiz
Quiz
•
University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
67 questions
Unit 3 Random Questions
Quiz
•
11th Grade - University
64 questions
USHC 4 Key Terms 22-23
Quiz
•
11th Grade - University
12 questions
This or That...
Quiz
•
1st Grade - University
25 questions
Comma CFA
Quiz
•
6th Grade - University