Loading...

Loading, please wait...

ExamDost
Learning Portal

Practice over 1000+ GATE-level questions from this topic!

Designed to match the latest GATE pattern with topic-wise precision, difficulty tagging, and detailed solutions.

Q#1 Microprocessor GATE EC 1999 MSQ +2 marks -0 marks

An 8085 assembly language program is given below:         

Contents of the memory locations 2000 H to 2002H are: 

2000 : 18 H        2001 : 10H        2002 : 2BH

(a) What does the above program do?

(b) At the end of the program, what will be

(i) The contents of the registers A, B, C ,H and L?

(ii) The condition of the carry and zero flags?

(iii) The contents of the memory locations 2000 H,         2001 H , 2002 H and 2100 H.

This program will find the highest number among all the three memory locations present in the given memory location, finally that highest number will present in the accumulator which will then be stored at the memory location 2100H.

This program will find the lowest number among all the three memory locations present in the given memory location, finally that lowest number will present in the accumulator which will then be stored at the memory location 2100H.

A = 2BH
B = 2BH
C = 00H
HL = 2002H

CY=1 and Z = 1

2000H : 18H

2001H : 10H

2002H : 2BH

2100H : 2BH

Explanation Locked!

Unlock this branch to view the explanation, track, bookmark and more.

Sign in to Unlock
Browse Practice Questions by Chapters / Topics in Browse Practice Questions by Chapters / Topics in GATE Electronics and Communications
Total Questions

Attempted

% Attempted

Correct

% Correct

Topic Questions Attempted Correct
Network Analysis 273 0 0
Electronic Devices 79 0 0
Analog Electronics 395 0 0
Digital Electronics 351 0 0
Signals and Systems 22 0 0
Control Systems 224 0 0
Communication System 200 0 0
EMFT - ECE 14 0 0
Engineering Mathematics 24 0 0
General Aptitude 30 0 0