1. This document contains a question bank for the subject Microprocessor and Assembly Language Programming for the 4th semester BME course. It includes questions related to microprocessor architecture, memory, interrupts, instruction sets, programming techniques and medical applications of microprocessors.
2. The questions cover topics such as 8085 and 8086 microprocessor architecture, memory organization, addressing modes, instruction formats, timing diagrams, assembly language programming, RISC and CISC processors, temperature monitoring and ECG systems using microprocessors.
3. Sample questions include explaining the pin diagram of 8085, comparing Von Neumann and Harvard architectures, writing programs to transfer and manipulate data, explaining interrupts and addressing modes, drawing block diagrams of processors like
Microprocessor and Assembly Language Programming Question Bank
1. GOVERNMENT POLYTECHNIC-AHMEDABAD
BIOMEDICAL ENGINEERING DEPARTMENT
Question bank
Name of Faculty: Prof. Jainam S Shah Subject Name: Microprocessor And
Assembly Language Programming
Sem/Year: 4th/SY BME Subject Code: 3360302
Sr No Question Mark
Syllabus Lesson No .1: Micro-processor Architecture & Micro-processor system
1
Define following terms
Machine Language Flags Function of
Following Pins
High Level Language ALU RESET OUT
Assembly Language PC RESET IN
Byte SP HLDA
Microprocessor Accumulator CLKOUT
Micro computer Address bus READY
Power supply Control bus HOLD
RAM Memory ALE
EPROM Word Length IO/M
Nibble Machine Cycle HOLD
Word length. Instruction cycle SID
SOD
1/2
Microprocessor Architecture and its operation: Microprocessor initiated operations and
8085 bus organization, internal data operations and 8085 registers.
Draw and explain 8085 Microprocessor architecture
3
Draw the architecture of 8085 microprocessor. 4
Write a short note on Bus organization of 8085
3
Draw the diagram of bus organization of 8085. 4
Draw and explain bus organization in 8085 processor.
7
Enlist 8-bit and 16-bit registers of 8085. 3
Draw the basic block diagram of micro processor. 3
1.2 Explain the difference between Von Neumann and Harvard architecture
Compare Van Neumann and Harvard architecture in detail.
3/4/7
2. 1.2Memory: Memory organization, memory map,
Define Memory and give its classification. 4
Explain the memory interfacing with 8085 microprocessor.
4
Describe the memory organization in 8085. 7
Give differences between I/O map and memory map in 8085?
3
Draw the diagram for interfacing 8K EPROM with 8085 Microprocessor.
3
memory read and writes operation
Draw and explain the timing diagram of Memory Read operation.
4
1.3 Microcomputer system
Draw and explain Microprocessor based Temperature monitoring system.
7
Draw the block diagram of temperature monitoring system using microprocessor.
4
Describe the microcomputer system in detail. 7
1.4 Microprocessor 8085: Block diagram, addressand databus, Controland status signals
Draw and explain Pin diagram of 8085 Microprocessor.
3
Draw the 8085 Pin diagram 4
Draw the block diagram of 8085. 3
Draw and explain Block diagram of 8085 Microprocessor.
4
Explain the function of following Pins of 8085 microprocessor. (1) ALE (2) IO/M (3) HOLD 3
Draw and explain programming model of 8085.
7
Draw the signaling diagram of microprocessor 8085. 4
Explain the signaling diagram of microprocessor 8085. 3
Explain the pin out diagram of microprocessor 8085 3
Draw and explain Signaling out diagram of 8085.
7
Describe the data bus of microprocessor 8085. 3
Describe the function of ALE in detail. 2/4
Explain how to demultiplex address from multiplex address/Data line.
4
3. Describe Demultiplxed address data bus and control signals.
3
What is microprocessor? 2
Write the features of 8085 microprocessor. 2
What is Accumulator? 2
What is the use of CLKOUT and RESET OUT signals?
2
Describe the function of following pins in 8085.
a. READY b. RESET IN
2
What is the use of ALE signal? 2
What is the use of HOLD & HLDA signals? 2
Power-supply and clock frequency
Describe the Clock frequency of microprocessor 8085. 3
Write a range of crystal oscillator frequency for 8085. And explain under clock and over
clock situations.
3
Power supply 2
Interrupts and externally initiated operations,
Define interrupt and explain the types of interrupt in 8085 microprocessor.
4
Enlist Hardware Interrupts of 8085 with its Address & Priority.
3
Describe the interrupts for microprocessor 8085. 4
Explain the master slave concept for microprocessor 8085.
3
Serial i/o ports, bus timings
Explain SOP and SIP of 8085 4
Flags
Draw and explain Flag Register in detail.
Draw the flag register with each bit specification.
3
4. Syllabus Lesson No .2: 8085 Instruction and Timing
Define following terms
Instruction cycle Machine Cycle
2
2.1 Instruction classification: Review of 8085 operations
Define instruction and explain various instruction formats.
3
Write a short note on classification of instruction set.
3
2.2 Instruction Formats: Single bytes, two bytes and three bytes instructions,
op-code format
Explain the Addressing modes of 8085. 3
Enlist various addressing modes in 8085 and explain any two of them briefly.
4/7
Enlist various addressing modes in 8085.
4
List the name of addressing mode of
(i) MOV C, D (ii) LXI SP,2800 (iii) STC
3
Give the two examples of single byte and three byte instructions of 8085.
7
Discuss Instruction Format w.r.to 8085 4
2.2 Instruction timings and operation status, simple programs
Define Timing diagram. Draw timing diagram for MOV B, C instruction which is stored at
E3D7H memory location.
3
Draw and explain the timing diagram of Memory Read operation. 4
Draw the timing diagram of memory read and memory write cycle.
4
Define the following terms:
i) Byte ii) Flags iii) Instruction cycle.
7
Define instruction cycle and machine cycle. 2
5. Syllabus Lesson No .3: 8085 Instruction set
Explain following Instructions
3.1 Data transfer
3.2 Arithmetic
instructions
3.3 Logical
operations
3.4 Branch
operations
3.5 Stack, I/O and
Machine control
LHLD 3FE9H INX B RAR CALL POP H
LXI D, 2055H CMC RLC JMP PUSH
MVI M, 3AH ADD ORA E RIM
PCHL ADC XRL XTHL
XCHG CMP IN 05H
LXI B 4050H
2
Mark
Each
3.1 Data transfer instructions.
Explain Data transfer instruction in detail. 4
Describe the Data moving instruction with one example of each.
7
Enlist data transfer instructions. 4
3.2 Arithmetic instructions.
Enlist arithmetic and logical instruction of 8085. 3
Give the example of ADD and ADC instruction 4
3.3 Logical operations.
Describe the Logical instruction with one example of each.
7
Give the example of XRL and CMP instruction. 4
Write a program to two times rotate left the data 21h of Accumulator register. 3
Enlist the logical opcodes and give one example of each.
3
3.4 Branch operations.
Give the example of JMP and CALL. 4
3.5 Stack, I/O and Machine control Instructions.
What is Stack? Explain its operation with example.
3
Write a program in which data fetch from port 02h, store that data in to HL registers. 7
Explain PUSH & POP instructions. 3
6. 3.6 Simple programs using 8085 instructions.
Data Transfer instruction Based
The following block of data is stored in the memory location 3955H to 395AH. Transfer the
data to the location 3980H to 3985H in the reverse order. (DATA β1AH, 39H, 45H, A7H, 8EH,
49H)
4
Write assembly language program to find out data 3EH from 16 data stored at 2050H onwards
and store the result in 3050H memory location.
3
Write a program in which data fetch from port 02h, store that data in to HL registers. 7
Write a program to transfer 01h to 08h data in memory location 2000h to 2007h. 4
Write Programs in 8085 assembly language to Transfer block of 10 data from location 5050H
to 6050H onwards. 4
Write an assembly language program for copy the data 55h in to register A and B. 3
Write an assembly language program for transfer the series of data from 3000h to 4000h. 4
Arithmetic & Logical instruction Based
Write a program to add any two odd numbers. 7
Write an assembly language program for adding the data 34h and 56h. 3
Write assembly language program to add two 8 bit data which stored 2044H and 2045H
memory location and store the result again in 2046H.
4
Write assembly language program to add two 16 bit Numbers.
4
Write a program for adding data 21h and 22h in A and B register respectively. 4
Write a Program to find the 2βs complement of a byte stored in register B and save the answer
in register C. 4
Write a program to two times rotate left the data 21h of Accumulator register. 3
7. Syllabus Lesson No .4: Programming Techniques
4.1. Looping, counting and indexing
Explain looping and counting with an example. 4
Give the example of JMP and CALL. 4
Enlist the types of looping. 3
4.2. Logic operations
Write a program to two times rotate left the data 21h of Accumulator register. 3
4.3. Counter and timing delays.
Compare timers and counters in brief. 3
4.4. Stack and subroutines.
Give the example of JMP and CALL. 4
Write a difference between CALL and JMP 4
Describe the subroutine program with example. 3
4.5. Code conversion, BCD arithmetic and 16 bit data operations.
Write a program to add any two odd numbers. 7
Write an assembly language program for adding the data 34h and 56h. 3
Write a program for adding data 21h and 22h in A and B register respectively. 4
Write assembly language program to add two 16 bit Numbers.
4
8. Syllabus Lesson No .5: Advance Microprocessor and its medical applications.
5.1 8086 /8088 architecture.
Draw and explain architecture of 8086 processor. 4
Draw the architecture of 8086 Microprocessor 3
Draw and explain basic block diagram of 8086 processor. 7
5.2 32 bit Microprocessor 80386: Introduction/Architecture
5.3 The Intel Pentium processor: Internal block diagram
Explain the block diagram of Intel Pentium processor.
4
Give the over view of Intel Pentium processor in brief.
7
Explain Pentium processor with diagram. 7
Draw the block diagram of Pentium processor. 4
5.4 RISC processor: Introduction & features.
Compare the RISC machine with CISC machine. 4/7
Describe the RISC processor with its features. 4
RISC 2
Describe the RISC processor in brief. 4
5.5 Human body temperature measurement using microprocessor.
Draw and explain Microprocessor based Temperature monitoring system.
7
Draw the block diagram of temperature monitoring system using microprocessor.
4
5.6 Microprocessor based Electrocardiograph (ECG) monitoring system.
Write a short note on microprocessor based ECG system.
7
Text Book:
1. "Microprocessor Architecture, Programming & Applications with 8085 and 8080 A, By R.S.
Gaonkar, Willey Eastern Ltd.
2. Handbook of Bio-Medical Instrumentation by R.S.Kahandpur, PHI Publication