The due date for submitting this assignment has passed. 1) How many times will the following loop be executed? Depends on the initial value of A

Similar documents
The due date for submitting this assignment has passed. 1) Which of the following statements regarding a microcomputer, a

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33

Assembly Language Programming of 8085

ELECTRICAL ENGINEERING

Assembly Language Programming of 8085

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

EKT222 Miroprocessor Systems Lab 5

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples.


8085 INSTRUCTION SET INSTRUCTION DETAILS

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

GATE Exercises on Microprocessors

Its Assembly language programming

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

UNIT 1 REFERENCE 1 PREPARED BY S.RAVINDRAKUMAR, LECT/ECE, CHETTINAD COLLEGE OF ENGG AND TECH, KARUR

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

Subject Code: Model Answer Page No: /25

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

INSTRUCTION SET OF 8085

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Practical Course File For

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

Week 10 Assignment. The due date for submitting this assignment has passed.

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

Introduction to Assembly Language Programming (Instruction Set) 1/18/2011 1

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

SAMPLE STUDY MATERIAL

Programming of 8085 microprocessor and 8051 micro controller Study material

Microprocessor Architecture

Assembly language Programming

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller

EE309: Computer Organization, Architecture and MicroProcessors. sumantra/courses/up/up.html GND HIGH ORDER ADDRESS BUS

LIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit.

DE60/DC68 MICROPROCESSORS & MICROCONTROLLERS JUNE 2013

Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass Marks: 24

Digital Control of Electric Drives

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

Instruction set of 8085

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

م.م. ماجد عيدان. Introduction to microprocessor and microcomputer

Sunday, April 25, 2010

(2½ Hours) [Total Marks: 75]

AE66/AC66/AT66/ AE108/AC108/AT108 MICROPROCESSORS & MICROCONTROLLERS

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

EEE310 MICROPROCESSORS M. Fatih Tüysüz CHAPTER 7

1 = Enable SOD 0 = Disable SOD. Serial Output Data. Fig.12.9 SIM Instruction Format

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

Microprocessor Micro Syllabus BSc. CSIT, IOST, TU. Microprocessor

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

MICROPROCESSOR BASICS AND RELATED TERMS

COPYRIGHT IS NOT RESERVED BY AUTHORS. AUTHORS ARE NOT RESPONSIBLE FOR ANY LEGAL ISSUES ARISING OUT OF ANY COPYRIGHT DEMANDS

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

EXAMPLE PROGRAMS 8085

ROEVER ENGINEERING COLLEGE

Figure Programming model

Instruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts

The advantages of registers over memory locations are as follows:

Counters & Time Delays. Microprocessors & Interfacing 1

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

4 Categories Of 8085 Instructions That Manipulate Data

PERIPHERAL INTERFACING Rev. 1.0

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M. 2 PUSH/ POP R16/M16/SR/F 2 x ( ) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M

ELEG3924 Microprocessor

ET355 Microprocessors Friday 6:00 pm 10:20 pm

XII HSC - BOARD - MARCH

Matrix Multiplication in 8085

Computer Organization

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY

The functional block diagram of 8085A is shown in fig.4.1.

Fig7 give the ALP for this problem THIS PROGRAMME / SUM OF N NATURAL NUMBERS FOR N G.T 22 ORG LNN EQU 360 D NSUM: LXIH, 0000 H ; INITIALIZE.

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

Rotate Instructions in 8085 Microprocessor to Support Traffic control Signal Processes through Assembly Language which to be Taken as Input of 05H

SIR.C.R.R.COLLEGE OF ENGINEERING DEPT. OF ELECTRONICS AND INSTRUMENTATION ENGG. EIE-328: MICROPROCESSOR LABORATORY 3/4 B.E. EIE: SECOND SEMESTER

CS521 CSE IITG 11/23/2012

DE60/DC68 MICROPROCESSORS & MICROCONTROLLERS JUN 2015

The 8085 Instruction Set


Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU.

G. Pullaiah College of Engineering and Technology: Kurnool Department Of Electronics and Communication Engineering

Unit 8 - Week 7: Organization and Optimization of Micro-programmed Controlled Control Unit

2003 LXI H, 42F2H ; this instruction store 42F2 in to the HL pair POP H ; store data from top of the stack to HL pair

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

8085 Microprocessor Programs

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY

LABORATORY MANUAL. PROGRAMME: B.Tech SEMESTER /YEAR: 3rd year 5th Semester SUBJECT CODE: CS592 SUBJECT NAME: Microprocessor & Microcontroller Lab

Assembly Language programming (2)

MICROPROCESSOR AND MICROCONTROLLER

8051 Microcontroller

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

CS2259-MICROPROCESSOR AND MICROCONTROLLER LABORATORY MANUAL

BHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)

Interrupt is a process where an external device can get the attention of the microprocessor. Interrupts can be classified into two types:

PERIPHERAL INTERFACING Rev. 1.0

Architecture of 8085 microprocessor

Code segment Stack segment

CHAPTER ASSEMBLY LANGUAGE PROGRAMMING

INDEX. 1 Study of intel 8085 micropeocessor kit. 2 Program to find addition of two 8 bit no. 3 Program to find subtraction of two 8 bit no.

Transcription:

X reviewer2@nptel.iitm.ac.in Courses» and Microcontrollers Unit 4 - Week 3 Announcements Course Ask a Question Progress Mentor Course outline How to access the portal Week 3 Assignment The due date for submitting this assignment has passed. Submitted assignment Due on 2018-02-14, 23:59 IST. Week 1 1) How many times will the following loop be executed? Week 2 Week 3 Lecture 12 : LOOP: XRA A MVI C, 05H DCR C JNZ LOOP Depends on the initial value of A Five times A project of Lecture 13 : Lecture 14 : Lecture 15 : Lecture 16 : Week 3 Lecture Slides Quiz : Week 3 Assignment Week 3 Assignment Answers Infinite times Once Five times 2) Which of the following flags is not affected by a conditional branch statement in an microprocessor? Sign flag Auxiliary Carry flag Zero flag Carry flag Auxiliary Carry flag 3) The interrupt in an microprocessor that is not affected by the value of the Interrupt Enable (IE) flip flop is 2014 NPTEL - Privacy & Terms - Honor Code - FAQs - In association with Funded by 1 of 6 Wednesday 16 May 2018 04:56 PM

Week 8 Week 9 Week 10 Week 11 Week 12 DOWNLOAD VIDEOS No, the answer Powered is incorrect. by TRAP 4) Which of the following statements regarding interrupts is FALSE? An interrupt can either be a maskable or a non-maskable one. An interrupt is a process that starts from an I/O device and is asynchronous. An interrupt is serviced only after the microprocessor completes the execution of its current program. An interrupt can either be a vectored or a non-vectored one. An interrupt is serviced only after the microprocessor completes the execution o its current program. 5) What are the status of the ZERO flag and the contents of the accumulator after the execution of the following assembly code? Assume that contents of all other registers and memory locations are unknown. MOV A, 65H MOV B, 32H CMP B 0, 00H 1, 65H 0, 65H 1, 00H 0, 65H 6) Determine the operand type of the following instruction. ADD C Register Memory address Immediate data Implied operand Register 7) How many bytes does the following set of instructions occupy? MVI A, 35H MVI B, 23H ADD B Six bytes Five bytes 2 of 6 Wednesday 16 May 2018 04:56 PM

Three bytes Four bytes Five bytes 8) Which of the following control signals must be shown in a timing diagram of an microprocessor? ALE, INTR, RD, WR ALE, INTR, S 0, S 1 ALE, IO/ M, RD, WR ALE, INTR, IO/ M, RD ALE, IO/ M, RD, WR 9) Determine the instruction, as well as its starting address, for the following timing diagram. Instruction: MVI B, 26h. Starting Address: 2626h. Instruction: MOV B, 26h. Starting Address: 2626h. Instruction: MOV B, 26h. Starting Address: 2627h. Instruction: MVI B, 26h. Starting Address: 2627h. 3 of 6 Wednesday 16 May 2018 04:56 PM

Instruction: MVI B, 26h. Starting Address: 2626h. 10) Which of the following statements about the stack in an microprocessor is FALSE? Information is retrieved on the stack by popping it off. Stack is a last-in-first-out structure. Information is saved on the stack by pushing on it. Size of the register associated with the stack is 8 bits. Size of the register associated with the stack is 8 bits. 11) Which of the following operations on stack is an invalid one? LXI SP, 0FFFH POP C SPHL PUSH PSW POP C 12) The Program Status Word register pair in an microprocessor is realized as the pair of which of the following registers? Program Counter and Flag Register Program Counter and Stack Pointer Program Counter and Accumulator Accumulator and Flag Register Accumulator and Flag Register 13) Which of the following statements regarding CALL and RET instructions is FALSE? In an program, the first CALL instruction may appear before the first RET instruction An program may contain multiple RET instructions In an program, the first RET instruction may appear before the first CALL instruction An program may contain multiple CALL instructions In an program, the first RET instruction may appear before the first CALL instruction 4 of 6 Wednesday 16 May 2018 04:56 PM

14) What will be the contents of the registers A, B, and C, respectively, after the execution of the following program? MVI C, 03H LXI H, 2000H MOV A, M DCR C L1: INX H MOV B, M CMP B JNC L2 MOV A, B L2: DCR C JNZ L1 STA 2100H HLT Contents of the memory locations are as follows. 2000H: 18H 2001H: 10H 2002H: 2BH 2BH, 2AH, and 01H 2BH, 2BH, and 02H 2AH, 2BH, and 01H 2BH, 2BH, and 01H 2BH, 2BH, and 01H 15) If an microprocessor works at a frequency of 1 MHz, determine the total delay of the following sequence of instructions (in seconds). MVI A, 0FH MVI B, 0FH L1: DCR B JNZ L1 223μs 221μs 224μs 222μs 221μs Previous Page End 5 of 6 Wednesday 16 May 2018 04:56 PM

6 of 6 Wednesday 16 May 2018 04:56 PM