100% found this document useful (1 vote)
127 views

Microprocessor

A microprocessor is basically the brain of the computer. We can also call it simply a processor or CPU. Furthermore, a microprocessor is basically a computer processor that is mounted on a single IC (Integrated Circuit). It means that all the functions of the processor are included on a single chip.

Uploaded by

mkafle101
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (1 vote)
127 views

Microprocessor

A microprocessor is basically the brain of the computer. We can also call it simply a processor or CPU. Furthermore, a microprocessor is basically a computer processor that is mounted on a single IC (Integrated Circuit). It means that all the functions of the processor are included on a single chip.

Uploaded by

mkafle101
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 30
POKHARA UNIVERSITY Programm, Semester: Fall ‘ourse: Microprocessor Candidates are ret ; as practicable, tti*e4 10 give their answers in their own words as far The figures in the margi ‘gin indicate full Attempt all the questions. Sull marks. b) pie eee architecture of a computer system. { Be isin tesa cea a microprocessor and microcontroller. Deny Stic F essing modes of Intel 8085. ae 'g from the address DOOO; to DOO: there is an array of ten | data. Write a programme using 8085 instructions to firid out how many times the data 08h repeats in the given array. Store the result at . address C000. ' b) Write an assembly language program for Intel 8085 to compute | a > x; te1 Where X; are three numbers stored at memory locations A001H, A002H and A003H. Store the result at memory location starting at DOOOH. i 3. a) Whatis the significance of Timing Diagram? Draw the labeled timing | diagram for the instruction OUT 80H. j Hl b) Draw the block diagram of Intel 8255 PPI, and explain the functions | -of the sub blocks. Explain’ how two 2048*8 RAM are interfaced with 8085 microprocessor and also find the address range for each RAM chips. Write an 8086 ALP for MASM to find a square of a given number. | ‘Draw the functional block diagram of 8086 microprocessor the functions of its two basic units. } ‘ x Vector Table (IVT)? Draw. the ‘respect to interrupt vector table. Write an 8086 ALP for MASM to display the string "POKHAR«. UNIVERSITY" without using 09h on screen. Explain all steps and assume necessary data. ; b) Two computers are to be connected with each other via modems. 8 Using RS-232 standards, explain the connections? Also, show the connections for null modem. ‘7. Write short notes on: (Any two) 2x5, a) Features of Intel 80386 b) Synchronous & asynchronous data transmission —¢) Macros. : Bachelor Programme: BE Course: Microprocessors Semester: Spring Candidates are requi equired to give their ir ir Btrricnann ive their answers in their own words as far The figures in the margin indicate full marks, Attempt all the questions. | +1. a) What are the essential differences between: : | i. Von Neumann and Harvard Architecture. | ii, Microprocessor and Microcontroller. | b) Define flags and addressing modes. Explain the role of all the flag bits 7 in 8085 microprocessor with essential examples. 2. a) Explain the function of the following 8085 program. What will be the 5 output of the program displayed at port 01H when the program is executed if the value of BYTE] is equal to FFH. MVIA,BYTEL 2 ORAA JM OUTPRT OUT 01H HLT : CMA OUTPRT: eet OUT 01H BLT , netion of the following instructions from 8085S b) Specify the fu instruction set. di LX. ii, LDAX it en IC. i PUSH given 10 numbers from memory ii Pky to sort tocending ode gram? Draw the labeled 1 is the significance of Timing Dia: diagram for the instruction OUT 4FH. : Explain how [KB RAM, 2KB ROM and 4KB EPROM are interfaced with $085 microprocessor and also find the a chips. Explain control word format of 8255 PPI for 1/O mode. ddress range for each 4. a) 4 5 Draw the functional block diagram of 8086 Microprocessor and 8 explain it and illustrate how its architecture is faster than its predecessors. : 5. a) Write an 8086 ALP for MASM to find the square of a given number. 8 b) Write a program to reverse the given string of 8086. ; 6 2) Define "Assembler Directives", Explain the following assembler directives along with their format: The Memory Model Definition, The PROC directive, The STARTUP directive, The .EXIT directive and The END directive. b) Two computers are to be connected with each other via modems Using RS-232 standards, explain the connection. How can they be connected directly without any modems using RS 232 standards? 7. Write short notes on: (Any two) 2x5 a) One pass and two pass assembler. b) RS 422A. c) Direct Memory Access. Time Candidar. es are required to gi : to give thei , as practicable, a (0 give their answers in their own words as far Th : e figures in the margin indicate full marks Attempt all the questions. Define mi Pe Nee ane 7 cena differences between 5 re ure? e Esplin in del he aresng mode 1005 mip 5 eee ee to find) out the largest-number in an array 5 memory location starting from 2500H to 2510H and Store the result in the register B. 2. a) Write a Program to check 1’s complement of the data stored ms iF address COOOH and store the result in DOOOH b) Draw the timing diagrams for the instruction LDA 400FH. 8 3. a) Design a memory interface circuit to interface two chips of 4K and 7 another chip of 2K ROM of 8085 without fold back addresses, starting address is 8000H. b) Define DMA. Explain mechanism of BMA with block diagram. S c) Define “Assembler Directives”. Discuss the function of following 3 directives: SEGMENT AND GLOBAL. 4, a) Draw and explain the functional block diagram of 8255A PPI. 7 b) Write an 8086 ALP in masm (o display the string “POKHARA RSITY” in reverse order. c a) es Interrupt Vector Table (IVT)? Draw the NT ‘for baie; Se microprocessor and explain different types of 2086 inteouy t to interrupt vector table. ; Sa, i 8086 ALP to find the factorial of 08H using DOS BIOS nnected with each other via m onnection. How can 1s using, : Course: Microprocessors a) b) °) a) b) ©) a) b) a) b) a) HARA UNIVERSITY 1, ; Year +2016, Full Marks: 100 Pass Marks: 45 Time : Shrs. Semester: Spring ired to give their answers in their own words as far Candidates are requi as practicable. The figures in the margin indicate full marks. Attempt all the questions. Differentiate between Von-Neumann and Harvard architecture. Explain in detail the flags of 8085 microprocessor. Write an 8085 ALP to find out the smallest nui available from memory location starting from 2500H to 2510H and Store the result in the register C. What happens when HLT instruction is executed in processor? Write an 8085 ALP to multiply the number 37H and 42H and keep the result in memory. Design a circuit to interface a2 KB EPROM to 8085 microprocessor “The starting address being 1000H. Draw the timing diagrams for the instruction STA 400FH. What does quality factor mean in microprocessor? What is control word? Write a program to take input from 8 switches connected to port B of 8255A and display the status of switches of 8, LED connected to port A of 8255A (for mode 0 ). With the help of the register organization diagram explain the types of registers in 8086 microprocessor. What is interrupt and interrupt service routine? Explain polled, vectored interrupt and non-maskable interrupt with examples. Define “Assembler Directives”. Explain the following assembler directives along with their format: The Memory Model Definition, The PROC directive, The STARTUP directive, The .EXIT directive and The END directive. mber in an array e Procedure and Macros and explain the addressing mode used microprocessor with examples. ae ‘ 1 7 ir own words as far are required to give their answers in the! : practicable. The figures in the margin indicate full marks. ‘Attempt all the questions. 0386 7 mmpare Intel 8085, 8086 and 8 i “ a of their features and internal a) Define Microprocessor. P Microprocessors 01 the basi * architectures. t is the function 8 in 8085 with the help of a diagram. What b) Explain flags i : of LDAXB? f ji 2. a) Write an ALP in 8085 to find whether the given number is palindrome 8 or not. b). Write a 8085 program to find smallest of three numbers. : q Jed timing diagram for the instruction 7 3. a) Define T-state. Draw the label LX1B, COOFH. b) What are the three basic functions interface any memory chip? Expl interfaced with 8085 microprocessor. 4, a) What are interrupts? Differentiate between VO mapped YO and 7 Memory mapped I/O. ? b) Draw and explain the functional block diagram of 8259A PIC. 8 5. a) Write an assembly language program for 8086 to find the sum oftwo 8 numbers input: by the user through the keyboard and display the sum ‘on the screen. b) Write an 8086 ALP for MASM in DOS-BIOS mode to display the string “Pokhara University” on screen without using 09H. a) Explain procedures and macros. Why IVT is used in microprocessor. b) Draw Be explain the connections to show how RS-232C is made compatible with TTL logic along with its connecti _ Write short notes on: (Any two) 2 ections for null iced HOLD and HLDA pin BISYNC Protocol microprocessor should satisfy to 8 lain how 2048x8 EPROM is 1. a) b) 2. a) b) 3. a) b) 4. a) b) 5. a) b) Semester: ran mM Microprocessors Tine . Lee ? Candidates are required to give their answers in their own words as fa as practicable. The figures in the margin indicate full marks. Attempt all the questions. Compare and contrast Microprocessor and Microcontroller. Draw the block diagram for the internal architecture of Intel 8085 and explain in brief. ; Explain in brief the different addressing modes of 8085 with proper examples. Write an 8085 ALP that checks an array of ten memory location starting from CO00H for odd numbers including zero and transfers the odd numbers in memory location starting from COOEH. Explain bus structure of a Microprocessor. What do you mean by Synchronous and Asynchronous Bus? With a suitable diagram explain the read and write operation with a SRAM cell. Draw the block diagram of 8255 PPI and explain in brief. What are the significance of assembler’s directive in microprocessor? List all the assembler’s directive of 8086 microprocessor and explain them with example. How interrupt processing occurs in a microprocessor? Explain vector chain and polled interrupt. Write an assembly language program in 8086 which reads a string from a keyboard and then displays the string in the reverse order, Write a program in 8086 to find whether a number is Positive or negative. RS232 forms a basis for serial data communication standard, Explain with diagram. ‘ite short notes on: (Any two) Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks. E Attempt all the questions. 1. a) Explain the Microprocessor based System with basic block diagram. b) Why the speed of Von-Neumann architecture is low than Harvard architecture? Explain Von-Neumann architecture with various registers used in it. c) Why the flag is also called PSW? Explain with the hel, register. 2. a) Whatare the different rotate instructions used in 8085 instruction set? Explaia with the help of a simple example for each of them. b) What is the difference between a counter and a time delay loop? 8 Explain with the help of a flowchart. 3. a) Classify the Bus on the basis of their function. Differentiate between 7 Synchronous and Asynchronous Bus. b) What do you mean by address decoding? Design a scalable address 8 decoding circuit to interface 64-byte RAM memory and 128-byte ROM memory. 4. a) With a suitable diagram explain the write operation with a DRAM 7 cell. b) Write an assembly language program in 8086 which reads a string 8 from the keyboard and then displays the string in the reverse order. For example if the input string read from the keyboard is “POKHARA UNIVERSITY”, the output should be “YTISREVINU ARAHKOP”. Define addressing mode. Explain the addressing modes of 8086 with proper examples. d - What is the significance of interrupt in microprocessor? p of 8085 flag IVT with suitable figure, a) Explain EU and BIU with the help of well labelled block diagram of - 8086 microprocessors. b) Differentiate between synchronous and asynchronous serial data 8 k communication. Also explain briefly the protocols of synchronous serial data communication. Write short notes on: (Any two) 265 a) RTL Instruction Descriptions b) Memory mapped I/O Vs I/O mapped I/O ¢) Serial data transmission standards the microcomputer Architecture. 2 ) Compare the Harvard and Von- Neumann architecture. Draw and explain the timing diagram of MVI M,05H. ; . a) Write an AIP in 8085 microprocessors to add two-32 bit numbers stored in memory locations starting from 2000H and 3000H respectively. i. : b) Define T-state. Draw the labelled timing diagram for the > instruction XRA B. an 3. a) Explain the functional block of 8237-DMA controller with its 7 pin and internal register. ) Explain memory interfacing? How do you Interface two PROM 8 and one RAM with 4kb and 2 kb memory respectively with 8085 microprocessor i. 2) What is the use of 8259 PIC? Draw and explain the functional block 8 diagram of 8259 PIC. 'b) Explain the addressing modes of 8086 with suitable example? q . 2) What do you mean by identifiers and statements? Explain the 8 following directives: TITLE, DOSSEG, MODEL, CODE, DATA, ENDP b) write a program in 8086 to display “MICROPROCESSOR IS EASY TO LEARN” in lower case. Differentiate between synchronous and asynchronous serial data — communication and explain the uses of BISYNC protocol in Interrupt Vector Table (IVT)? Draw the IVT for 8086 7 Write short notes on: (An a) Year + Sprit e 1c: BE Bonar ae Full Marks: Course: Mic: Pass Marks: 45 Cc : Microprocessors ae ah Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks. Attempt all the questions. 1. a) Differentiate between Von-Neumann and Harvard Architecture. § Explain fetch, decode and execute cycle in microprocessor with block diagram. b) Draw the functional architecture of a 8-bit microprocessor along with 7 diagram and briefly describe about the interrupts available in it. 2. a) Draw and explain a well labelled timing diagram of the instruction 7 MVI A, 32H and calculate the total execution time if clock frequency is 2 MHz. Write 8085 assembly programming language to find the smallest 8 number among ten 8-bit data’s stored in memory location 5000H to 5009H. Also store that value in 9100H and display on output device 51H. : 3. a) Define T-state, Machine cycle and Instruction cycle. What are the 7 different addressing models address in 8085 microprocessor? b) What are the three basic functions microprocessor should satisfy to 8 interface any memory chip? Explain how 4096*8 PROM is interfaced with 8085 microprocessor. 4. a) Draw and explain the control word for 8255A PPI. Also, explain the different operating modes of 8255 PPI. Write an assembly language program in 8086 to display the string “Computer Engineering” at console. What do you understand by macros and procedures? State and explain . the different types of assembler directives in 8086 il What are the different dedicated interrupt pointers in microprocessor? Draw and explain the block diagram of 8086 b g b) table along with related memory address. a) How DTE and DCE is interfaced with minimum lines using RS232_ 7 cable? Explain how two computers can be connected without modem. b) What are the different methods of parallel data communication, 8 Explain in detail. Write short notes on: (Any two) a) 8251-USART b) Maximum mode and minimum mode of 8086 c) Microprocessor & Microcontroller 2x5 Attempt all the questions. a) b) °) a) b) a) b) a) b) a) ») a) _b) Candidates are required to give their answers in their own words as far — as practicable. The figures in the margin indicate full marks. Cycle of microprocessor. ture with Havard architecture. f all the flags present in 8085 Explain the Instruction execution Compare Von-Neumann’s Architec' What are Flags? Write the function o! microprocessor. What are the different flags of 8 addressing modes of 8085 microprocessor with examples of each. Write an ALP in 8085 to perform the following addition: PH 2+ PtP +P +O + P+ +9? Define T-state. Draw the neat and labeled timing diagram for 8 instruction MOV M, B. a Write the function of DMA with suitable diagram and explain the 7 execution of DMA in Master mode and Slave mode. Differentiate between partial and complete address decoding. Design 9 an address decoding circuits for two 16KB ROMs at address 2000H. Explain Polled and Vectored interrupt with suitable block diagram. 6 Draw the pin diagram of 8086 microprocessor and explain the different 7 types of FLAGS of 8086. Write an 8086 ALP for MASM in DOS mode to print each word ofa string in different lines. = What are the different pre-defined interrupts in 8086 microprocessor? Explain with the help of block diagram of 8086 IVT. How can you transfer the data between two computers without using modem? Draw and explain the interface with handshake Signal. 5 085 microprocessor? Explain the 246 - a) b) a) b) a) b) a) b) a) b) ‘Candidates are required to give their answers in their own words as far as. practicable. The figures in the margin indicate full marks. Attempt all the questions. yn Neumann and Harvard architecture. i iate between Vo! i Differentiate xecute cycle in microprocessor with block Explain fetch, decode and ¢: diagram. oe What is the importance of DAA instruction? Explain it with an appropriate example along with the necessary calculations. Write an ALP for 8085 to count the integers available in an array starting from 7 memory location 3500H to 3510H for exactly divisible by two and save the result in the register B. What is the significance of timing diagram? Draw and Explain a well 8 labelled timing diagram of the instruction XRA B and calculate the total execution time ifclock frequency is 2 mhz. What is the use of 8255 PPI? Draw and Explain the control word format of 8255 PPI in /O mode. Define interrupts. Differentiate between /O mapped /O and Memory mapped 7 /O. Draw a circuit for 8085 to interface 2KB RAM and 4KB ROM What is Interrupt Vector Table ([VT)? Draw the IVT for 8086 microprocessor 7 and explain different types of 8086 interrupts with respect to IVT. Discuss the advantage of 8086 over 8085 and explain the concept of pipelining and segmentation Write an assembly language program in 8086 to fi find the largest pimberenong 10 blocks of data and store the largest value in locati _ ; es ee margin indicate full marks. “Attempt all the questions. 1? Explain the evolution of microprocessors. What is microprocesso! a p sor. Also, explain Draw the internal architecture of 8085 microproces: each blocks in brief. a), What is addressing mode? Explain different addressing modes of 8085, with examples. b) Define machine cycle and instruction cycle. Draw the neat and labeled 7 timing diagram for 8085 instruction NOP. Write an ALP in 8085 to check whether the number stored in memory location 2060H is prime or not. If the number is prime, store FFH in memory location COOFH else store 00H. b) Define tri-state buffer. Explain with suitable circuit diagram how read and write operations are performed in SRAM chip. a) a) Design an address decoding circuit to interface one ROM chip of 2KB 7 and one RAM chip of 4KB at address 0000H and E000H respectively. » Draw the suitable block diagram of 8255A PPI and explain. ay What are assembler directives? Explain any six different assembler directives of 8086 microprocessor. b) Define IVT. Explain different pre-defined interrupts in 8086 ~ microprocessor along with suitable block diagram. a) Write an 8086 program to enter a string from the keyboard. Count the number of repetitions of letter ‘a’ or ‘A’. If the count is even, display “POKHARA” else display “UNIVERSITY”. i b) Define DTE and DCE in serial communication, Explain RS232! serial data standard along with suitable circuit diagram, Write short notes on: (Any two) 8) Operation of CALL and RET instructions b) Peripheral- mapped I/O and Memory-mapped I/O ¢) Synchronous Vs asynchronous serial data communication 2x5 Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks Attempt all the questions. a 2 Define Microcontroller. What are the essential difference between Von 7 Neumann and Harvard architecture? b) Explain the architecture of 8085 microprocessor? 8 2. %, Draw the timing diagrams for the instruction STA E040H. The address and opcode of the instruction is shown below: Address Mnemonics Op code | 30FF STA E040H 32H 3100 40H 3101 41H b) What are the types of instruction depending upon word size? Explain 7 ~ different type of addressing modes of 8085 microprocessor. a) Draw and explain the functional block diagram of 8259 - PIC. a What do you mean by unique and non-unique address decoding? 7 Differentiate between synchronous and asynchronous bus. 4. a) Write an 8086 ALP to check whether a given string is palindrome or not. ») What do you understand by memory interfacing? Design an interfacing circuit to interface one 4KB EPROM and two 2KB RAM for 8085 microprocessor using 3*8 decoder. &) What is interrupt vector table? Explain procedures and macros. b) Compare RS232 and RS422. Explain how two computers can communicate with each other using RS232 standard. ‘ 6. a) What is the As: ee ynchronous serial data communication? Compare serial and parallel] communication. Draw the Block diagram of Intel 82514 USART and explain functionally in detail, b) Write the RTL for the instruction LXI D, 90S0H in 8085 . F microprocessor. Explain the ‘Operations and uses of DAA, SHLD and LHLD instructions in 8085. 7. Write short notes on: (Any two) a) Memory mapped I/O and I/O mapped I/O b) Handshaking signals c) Types of interrupt. Pe oe required to give thei 2s in the margin indicate full marks. : Attempt all the questions. ir answers in their own words. with its applications. Differentiate hitecture on the basis of storage. ‘a) Define Microprocessor along Harvard and Von-Neumann arc! : b) What are the types of instruction depending upon word size? Explain different type of addressing modes of 8085 microprocessor. 2. a) Write an 8085 program to find smallest number among array of numbers. b) Define T-state. Draw the labelled timing diagram of the instruction 7 LX1H, 5051H. 3. a) Design an Addressing Decoding circuit to interface 16KB ROM chips g with 8085 microprocessors. b) Draw a well labelled architecture of 8086 microprocessor and discuss a about BIU and EU. 4. a) Explain about IVT of 8086. 7 b) What are serial and parallel communication? Explain basics of RS-232. 8 5. a) Explain the working of DMA. Mention its advantages over 8% programmed and interrupt driven /O. b) Write an ALP in 8086 to display POKHARA UNIVERSITY without using 09h function. ) +4 a) What is the Asynchronous: serial data communication? Compare serial and parallel communication, Draw the Block diagram of 82514 USART and explain functionally in detail, What is the importance of DAA instruction? Explain it with an 0 e example along with the necessary calculations, 7. Write short notes on: (Any two) a) Memory mapped I/O vs I/O mapped /O. b) Address Bus ,Data Bus and Control Bus c) Flags in 8086 __ as practicable. The figures in the margin indicate full marks. Attempt all the questions. 1. a) Differentiate between Von-Neumann and Harvard Architecture, Explain fetch, decode and execute cycle in microprocessor with block diagram. b) Draw the functional architecture of a 8-bit microprocessor along with 7 diagram and briefly describe about the interrupts available in it. 2. a) Draw and explain a well labelled timing diagram of the instruction 7 MVI A, 32H and calculate the total execution time if clock frequency is 2 MHz. b) Write 8085 assembly programming language to find the smallest 3 number among ten 8-bit data’s stored in memory location 5000H to S009H. Also store that value in 9100H and display on output device SIH. 3. a) Define T-state, Machine cycle and Instruction cycle. What are i 7 different addressing models address in 8085 microprocessor? b) What are the three basic functions microprocessor should satisfy to 8 interface any memory chip? Explain how 4096*8 PROM is interfaced with 8085 microprocessor. 4. a) Draw and explain the control word for 8255A PPI. Also, explain the 7 different operating modes of 8255 PPI. b) Write an assembly language program in 8086 to display the suing “Computer Engineering” at console. 5. a) What do you understand by macros and procedures? State and explain the different types of assembler directives in 8086 b) What are the different dedicated interrupt pointers in 8 microprocessor? Draw and explain the block diagram of 8086 3! table along with related memory address, : a) How DTE and DCE is interfaced with minimum lines using RS232. 7 cable? Explain how two computers can be connected without modem. b) What are the different methods of parallel data communication, 3 Explain in detail. Write short notes on: (Any two) 5 a) 8251- USART b) Maximum mode and minimum mode of 8086 c) Microprocessor & Microcontroller ebe Wemtidates are required to give their answers in their own words as, as practicable. The figures in the margin indicate full marks. Attempt all the questions. 1, a) What are the major differences between Microprocessor and Bi, Microcontroller? Why Harvard architecture is superior to Von. Neumann Architecture? b) What are the interrupt pins of 8085 microprocessor? Explain the different methods of handling multiple interrupts 2. a) Write and assembly language program in 8085 to check whether the number stored in memory location D001 H is positive or negative. If positive store it in C001 else store in C002. Comments in program indicate full marks. b) What are the different types of machine cycles in 8085 instructions? 25 Draw the labelled timing diagram for the instruction LDA 30DA H. 3. a) Design an Addressing Decoding circuit to interface 2kB RAM, chips 8 a each of size 256 bytes with starting address 1001 H. b) Define interrupts. Differentiate between I/O mapped I/O and Memory 7 mapped /O 4. a) Explain memory interfacing? How do you interface two chips of 4K 8 RAM and one chips of 2K ROM of 8085 with and without fold back addresses, starting address is 8000H? b) Write an 8086 ALP to display the string “POKHARA UNIVERSITY” 7 in reverse order. | 5. a) What are the different dedicated interrupt pointers in 8086 microprocessor? Draw and explain the block diagram of 8086 IVT table along with related memory address. a 6. a) What are the significance of assemblers dire List all the assembler’s directive of 8086 mi them with example. Ctive in microprocessor? croprocessor and explain b) What is Synchronous and Asynchronous data transmission? Explain the 245 RS232C standard for serial communication. : 7. Write short notes on: (Any two) 2x5 a) SRAM and DRAM b) RIMand SIM Instruction c) RS423A

You might also like