0% found this document useful (0 votes)
43 views

Microprocessor

Uploaded by

Prabin Acharya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
43 views

Microprocessor

Uploaded by

Prabin Acharya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 15
Examination Control Division Subject: - Microprocessor (EE 551) _ SA88 \ 9 N10. . What do you mean by synchronous and asynchronous bus? Draw . Explain ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING eo Full Marks 80 3B 32 BEL BEX, BCT Pass Marks 32 _| Shs. 2078 Poush Candidates ate required to give their answers in their own words as far as practicable. Attempt All questions, All questions carry equal marks Assume suitable data if necessary, - Define stored program concept. Differentiate between Accumulator based processor with togister based processor. Write the RTL for instruction LX1 H, 20 H in 8085 processor. ‘What is the use of Program Counter and Stack Pointer registers of 8085 microprocessor? How these registers get affected during CALL, RET, PUSH and POP instructions explain with suitable example. A set of 10 numbers are stored in memory location CO70 H onward. WAP in 8085 to test whether the number is odd or even. Store the even number in separate list starting from memory location COOH. Discuss and differentiate betwe: 8086 microproc Bus Interface Unit (BIU) and Execution Unit (BU) of Write about flags of 8086, - Write a program for 8086 to find the largest and smallest value from a list of ten 16 bit data and store the result in maxval and minval variable, the bus timing di for STA 3050H which is stored in stored in memory location 820011 ne ee ferent modes of parallel data transfer. Explain in brief about PP How is interrupt processing differs from pooling? Wi ite general sequencs when interrupt occurs, ‘quence to be followed Discuss about Flynn's Classification, What are the key feat . Operating system? Y features having with a typical Write short notes on: (Any Two) a) USART b) EXEand COM Program ee v an RINT AN UNIVERSITY { Pam, INSTITUTE OF ENGINEERING | Level amination Control Division | Programme | BLL, BBX, BCT | | a 2078 Baisakh [veur/ Part | 11/1 | Time 5 rs D Subject: - Microprocessor ( ‘answers in their own words as far as practicable, Canidae are required to give Uh Hl questions. res in the margin indicate Bull Marks: Assume suitable data if necessary a) Compare and contrast between hardwired and mlcroprogrammed CU, O) b) Write the RTL for Instruction LX/ M, 75H in 8085 microprocessor. (4) a) Draw the programming model of 8085 and explain each unit. [2+4] b) Explain the operations and uses of AST instructions in 8085. ) c) Write an ALP in 8085 to transfer 20 bytes of data ina table to another table by (61 interchanging Dy and Ds bits of each byte. Explain the different types of addressing modes available in 8086 microprocessor with (8) examples. Write an ALP in 8086 to read a word and display all the alphabets in alternate case (first [8] alphabet in lowercase, second in uppercase, third In lowercase and so on) in a clear window. Design the address decoding interface of an output port consisting of 8 LEDs with port [5] address ABH. Explain different modes of operation in 8255. Explain the execution of instruction ANI 4BH in 8085 with the help of timing diagram. Describe the operation of interrupt instruction RIM in 8085 microprocessor. (6) (5) (4 4) 1] i) b) ¢ al b) Explain the Interrupt processing in 8086 microprocessor. Write the characteristics of RISC.. Explain six stage pipeline technique with an example, al b) Write short notes on any two: a) One pass and.two pass assembler b) DMA Controller ¢) OS and Its features au TRIBHUVAN UNIVERSITY . INSTITUTE OF ENGINEERING Level Examination Control Division | Programme | BEL, BEX, BCT | Pass Marks | 32 2074 Bhadra Year /Part | 11/1 [time [3 hrs Subject: - Microprocessor (EX551) Candidates are required to give their answers in their own words as far as practicable Attempt All questions The figures in the margin indicate Full Marks. Assume suitable data if necessary. <<< Explain fetch and execution cycle of an instruction of @ stored program computer, lustrate with the help of RTL specification. What is the use of Program Counter and Stack Pointer registers of 8085 microprocessor? How these registers get affected during CALL, RET, PUSH and POP instructions explain with suitable examples. There are two tables holding twenty data whose starting address is 9000H and 9020H respectively. Write a program to add the content of first table with the content of second table having same array index. Store sum and carry into the third and fourth table indexing from 9040H and 9060H respectively. Describe how 8086 microprocessor is faster than 8-bit microprocessors in terms of its instruction processing. Write in brief about the uses of major registers of 8086 (5+3] (44) [8] microprocessor. (345) Write an assembly language program for 8086 to calculate the addition of 100 natural even numbers and display the result in screen, in decimal format. 6. Explain single handshaking and double handshaking technique used in parallel interfacing with a microprocessor? Design an address decoding circuit to interface two 8k*8 ROM chips at address starting at 40H. 7. What do you mean by Machine cycle and T-states? Draw a bus timing diagram for an instruction ANI 55H of 8085 microprocessor. Calculate the time required to execute such instruction, if microprocessor is operating at 2MHz clock frequency (24541) What are the software interrupts of 8085? Discuss the different hardware interrupts available in 8086, Write down the steps, sequentially carried out by the systems when an (3+342] {8] +5] interrupt occurs. What do you mean by accumulator based microprocessor? Compare RISC and CISC (2+6} architecture. 10. Write short notes on any two: (2x4) a) Flags in 8086 Microprocessor b) DMA Controller ¢) Deadlock and its Remedies ae Exa a - Differentiate between Microprocessor and Microcontrollers. Explain how - What is flag? Discuss about 8085 associated flags. Alone with suitable example show Full Marks Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary. the microprocessor is organized in microprocessor based systems. [444] how these flags are affected by arithmetic and logical group of instructions. (14245) . Write an assembly language program for 8085 to find the square of ten &-bit numbers which are < OFH, stored from memory location CO90H. Store the result from the end of the source table. {8} . Discuss and differentiate between Bus Interface Unit (BIU) and Execution Unit (EU) of 8086 Microprocessor. List out the operators used in 8086 Assembly Language Programming. [4+4) . Two tables contain ten 16-bit data each. Write an assembly language program to generate the 3 table which contains IFFFh if the corresponding data in the 1* table is less than that of 2™ table, else store 0000h. [8] .. Draw an explain the timing diagram of LXI D, 2465 H. Calculate the time required to execute this instruction if the crystal frequency is 6MHZ.. (642) . With a neat diagram explain the interfacing circuit using a 3:8 decoder (74LS138) needed to connect the following memory units to the 8085 microprocessor consecutively starting from memory location AOOOH. [8] 2Kx8 ROM chip 2Kx8 RAM chip 4Kx8 EPROM chip Explain the purpose of the EI, DI, SIM and RIM instructions of the 8085 processor while "using interrupts. Describe how the 8085 obtains the starting address of the interrupt service routine for each of the hardware interrupts. 8] Discuss about Flynn's Classification, What are the key features having with a typical Operating system? [4+4] . Write short notes on: [4x2] i) RS232 ii) PPI Lt brary Cos et ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING ination Control Division Ex: Mus D) 2073 Bhadra i ‘Subject: - Microprocessor (EX551) Candidates are required to give their answers in their own words as far as practicable. | Pass Marks | 32 Time | 3 Attempt All questions. The figures in the margin indicate Full Marks. Assume suitable data if necessary. aA . Explain RTL based on any 8085 instruction. Define Stored program concept. (444) . What are the characteristics of 8085 microprocessor? Discuss all the input and output signals that are originated from microprocessor. [246] 3. How are the flags of 8085 processor affected during the usage of arithmetic and logic instructions? Explain with examples. Explain the following instructions with example program (i) DAA (ii) SPHL (iii) XTHL (iv) PCHL [444] . Draw the internal architecture of 8086 microprocessor. Explain each block in detail. 18) 5. Write an assembly language program for 8086 to find the largest and smallest numbers of an array having 10 numbers. Display the found numbers in the clear screen. (8) Explain bus timing diagram. Draw and explain the timing diagram of the 8085 instruction (2+6} STA 8050 H. Design an interfacing circuit for following problem. [8] i) 74LS138:3 to 8 Decoder ii) 2732 (4K*8): EP-ROM address range should begin at 0000H and additional 4K memory space should be available for future explanation iii) 6116(2K*8):CMOS R/W memory . Differentiate between maskable and non-maskable interrupts. Explain how different interrupt pins of 8085 are used. [2+6) 9. What is interprocess communication? How does dead lock occur? How can it be solved? (2+3+3) [4x2 ). Write short notes on: i) USART ii) RISC ype S a ‘RIBHUVAN UNIVERSITY [Exam INSTITUTE OF ENGINEERING Level Examination Control Division | Programme, 2072 Ashwin [Year /Part | U/l Subject: - Microprocessor (EX551) far as practicable. Candidates are required to give their answers in their own words a: Attempt All questions. The figures in the margin indicate Full Marks. Assume suitable data if necessary. SKAK What is Bus? Explain Bus organization of microprocessor with diagram? Calculate the memory handling capacity of the processor having address bus of 24 lines and data bus a ‘iy 45+ 16 lines. Explain the instruction format and data format of 8085 microprocessor. Explain different px +5 2 addressing modes of 8085 microprocessor. 3. Write a program in 8085 to calculate the number of ones in the upper nibble of ten 8-bit numbers stored in a table. Store the count of ones in a location just after the table. {8} 4. What is statement in an assembly language program? Explain frequently used directives with suitable example. (2+6] 5, Write an assembly program to read a string from the user and display vowels and consonants separately. (8) 6. What do you understand by address decoding? Explain with example how PROM decoder is used in memory address decoding. [2+6] 7. Explain different modes of parallel data transfer. Explain briefly, what is PPI. [4+4] 8. What is interrupt? What is its importance in microprocessor? How interrupts from different peripherals can be handled with single INTR pin in 8086 microprocessor? Explain. [1+2+5] 9. What is register based and accumulator based architecture? Differentiate between CISC and RISC architecture? [2+6} 10. Write short notes on: [2x4] a) DMA b) INX, XTHL, MUL, JG rumvasenversy [Extn SSS Foll Marks 80 TTUTE OF ENGINEERING —_| Level [BE \ Examination Control Division | Programme | BEL, BEX, RCT | Pass Marks [32 | i) Time \3hrs._ | 2072 Magh | Year / Part Subject: - Microprocessor (EX551) Candidates are required to give their answers in their own words as far as p Attempt All questions, The figures in the margin indicate Full Marks, Assume suitable data if necessary C446 Draw and explain the block diagram of a computer, Explain stared program concept [4+4] ‘What is flag? Discuss about 8085 associated flags. Alone with suitable examples show how these flags are affected by arithmetic and logical group of instructions. {142+} 3. Write a program for 8085 to generate multiplication table of a number stored at 25011 and store the generated table starting at 8231H. For example, if location 823011 has number OSH then store OSH at 8231 H, OAH at 8232H and so on. Draw the internal architecture of 8086 microprocessor. Explait register accessible to programmer. 5. Write a program in 8086 to read a string center of the screen. Draw the timing diagram of STA instrugtion? Calculate the time taken to execute the following program if T = 1 micro second. [5+3] MVIA,0SH ADI 20H OUT 80H HLT 7. Design an interfacing circuit t N in the function of each {8] gp display each word in a separate line in the ' (8) ‘0 interface pne 4 KBEPROM and two 2 KB R/W memory {8] for 8085 microprocessor. 8. What is IVT? How is it used to handle software and hardware interrupts? Explain. [2+6) 9. What is deadlock? What are the conditions for deadlock to occur? Write down the features of DSP chip. (143+4] 10. Write short notes on: [4x2] a) RS 232 b) Two pass assembler 3t TRIBHUVAN UNIVERS| INSTITUTE OF ENGINERRING Full Marks | #0 Examination Control Division | Pang Marks 32 (Time V3 hws @ 28 2071 Bhadra Subject Candidates are required to give their answers in their own words as far as practicable y Y. Attempt All questions The figures in the margin indicate Full Marks Assume suitable data if necessary, Explain the microprocessor based system showing the bus organization. Explain the processing cycle of a stored program computer. [4+4] Explain briefly the programmer’s model of 8085 microprocessor. (8) Write & prograrr “07 8085 to add the upper and lower nibble of ten 8 bit words st iable, that starts . on location 8B20H. Store the separate results in locations just after the {8] table. What do you mean y addressing mode? Explain the addressing, modes of 8086 with dina caainple. +5] 5 Write-an assembly Janguage program to read‘a text from keyboard, convert the text into {8} uppercase and dispiay on the cleared screen. Draw and explain the bus timing for OUT 42H instruction of 8085 microprocessor. (8] Draw the address decoding circuit to interface two RAM memory block each of 8 KB at "address €OOOH, : Explain how hardware interrupt is processed in 8086 microprocéssor. What do you mean by parallelism? Write and explain the features of a typical operating 18 (8) (8) system. 10. Write short notes on: (4x2) a) RS 232 Standard b) Programmable Peripheral Interface eee oe _TRMNLY UNIVERSITY “Pam, INSTITUTE OF ENGINE “RING: Level 80 Examination Control division | programme | Bibel! 32 6 207) Magh eVear/Part 11/1 rs Ge) . Subject: - Microprocessors (EX5§1) f ¥ Candid: required to give their answers in their own words as far as practicable ¥ Attempt fons, v The figeo margin jp £ull Marks. Y Assume a if neeessary \ 1. Define instruction eyele and'machine cycle. Explain briefly the instruction processing cycle of Von’ Neumann machine. “T {4+4) Draw the internal architecture of 8085 microprocessor and explain each rs (8} Write an assembly language piogram for 8085. Tablel contains 16 no. of 8 bit data, wansfer data which have number of 1s greater than 3, from tablel to table2, otherwise i {8} store FFH in table2 4. What is statement in assembly language programming? Explain ¢ommonly used directives with examples. 5. Write a program to read a string and display only the alphabetic characters from the string in a clear screen, | 6. Draw timing diagram of instruction LDA 2080H. Calculate the time a to execute this instruction if the crystal frequency is 6 MHZ. ; _ (642) ig mEmery range ' (8] {8} 12-6 the capacity.of devices in the follow Range | Device | . =0000-TFFF_| ROM ? 2000-3FFF | RAMI Design an “interfacing circuit to interface above memory device: microprocessor. \ 8. Define Interrupt Service Routine (ISR) and Interrupt Vector Table avn, Explain type 0 to type 4 interrupt of 8086. 9. What are the features of digital signal. processors? Describe instruction level, thread ievel and process level parallelism. ] 7.) Detereai with 8085- {246} L2+6) 10. Write short notes on: \ {42 @) V/O mapped and memory mapped-/O t : b) DMAT 77 } ae 2 IRIBNUVAN UNIVERSITY Exam, INSTITUTE OF ENGINEERING Level | BE | Fall Marks | 80 Examination Control Division | programme | joy?) Pass Marka 32 (Time 3 hrs 2070 Bhadra [Year /Part (U/l Subject: - Microprocessor (EX551) Candidates are required to give their answers in their own words as far as pra: Y Attempt All questions Y._ The figures in the margin indicate Full Marks. Y Assume suitable data if necessary. 1. Define bus? Explain different types of bus. Define RTL. Write down the RTL for MOV T), tp in 8085 microprocessor. [444] 2. In how many ways 8085 instructions can be classified? Explain with examples. What is [6+2] the purpose of the branching instructions? 3. Write an assembly language program for 8085 to exchange the bits D6 and D2 of every byte of a program. Suppose there are 200 bytes in the program starting from memory (8) location 8090H. Draw internal block diagram of 8086. Explain Bus Interface Unit. {5+3] 5. Write an assembly language program for 8086 to a read string. Display each word in separate lines in a cleared screen, count how many words are there and display the count. [8] 6. Write the various machine cycle involved in LDA C030 stored at C050. Write the use of following pins of 8085 microprocessor. ALE, IO/M, READY, RD, ADy-AD>. B+5] . Explain the execution of instruction LDA 8B7FH with the help of timing diagram. {8} 8. How interrupt vector table is used in microprocessors to manage the interrupt? Explain how software and hardware interrupts are used in 8086 microprocessor in detail. (3+5] (4+4] Write the conditions that may cause deadlock to arise. Explain Flynn’s classification. 10. Write short notes on: {4x2} a) Hardwired and micro program control unit b) EXE and COM programs 21° jrunuvan university Exam me INSTITUTE OF ENGINEERING | Level Be eg amination Control Division programme tt, Pass Marks 2070 Magh [Year/Part_ 1/1 Time 3 hws Subject: - Microprocessor (EX551) andiclaies are required to give theif @nswers in their oWiy words as far as practicable empt All questions ‘igures in the margin indicate Full Marks. sume suitable data if necessary. v v ¥ i. Differentiate between Hardwired and Microprogrammed Control Unit used in ‘ microprocessors? Write the fetch and execution cycle for LX1 D,9050H instruction in ; tara RTL specifications. Explain each step. Write any three features of 8085 microprocessor. Explain the addressing modes of 8085 (345) with example, Write an assembly language program in 8085 to divide a byte stored in memory location 9070 H by byte stored in 9071 H and store the remainder and quotient at 9072 H and 9073 H respectively. (8) Draw the functional block diagram of 8086 microprocessor and explain each block. {8} Write a program for 8086 to find the largest and smallest value from a list of ten 16 bit daia and store the result in maxyal and minyal variables. {8} 6. What do you mean by serial interface? Differentiate between synchronous and asynchronous serial interlacing. Describe how we can use RS-232 standard to transfer data from DTE to DCE and vice versa? [ssa] _JZ_-Design the address decoding interface of an inj and 82 H address. Use block decoder. ‘= Differentiate Maskable and Non-Maskable interrupt, Write the general sequence to be ~~ followed when interrupt occurs. (2+6} ‘9 Write down the difference of RISC and CISC computers {8} (2x4) put port and output port for 8085 at 81 H (8) \_t0--Write short notes on: a) Serial and parallel interface b) Programmable peripheral interface ex Examination Control Division S Nain: Level 2 ‘TRIBHUVAN UNIVEREEEY INSTITUTE OF ENGINEERING BE Bee tt Pass Marks 132 Programme) jo 1a Time | 2069 Bhadra __ Subject: - Microprocessor (EX551)_ Candidates are required to give their answers in their own words as far as practicable. Attempt All questions, The figures in the margin indicate Full Marks, Assume suitable data if necessary, Define microprocessor based system. Explain the various components of a Microprocessor based system including the bus structure. [2+6) Compare CALL and RET instructions with PUSH and POP instructions for 8085 TMlustrate their usages with appronriate examples. (44) ‘che a program to convert ten BCD numbers stored at 4350H to binary and store the ial result at 4360H. Draw the internal architecture of the 8086 microprocessor. Differentiate between EXE , (444 au¢ CCM programs. \site a progzam in 8086 to convert the vowels to uppercase from a string entered by the user and dispiay the converted string in a new line. Also count the number of uppercase letters in the converted string and display the count in a new line. [8] Define synchronous and asynchronous bus, Draw and explain the timing diagram of LXTB 1234H. Interface two 4K*8 ROM with 3:8 decoder at the address of your choice, Show the address map for each ROM and explain your circuit, 18} Explain how the interrupt vector table is used in 8086 microprocessor. Show the comp! i ction execution sequence when interrupt service routine is called. ‘Wat do you mean by parallelism? Explain the case of deadlock that may arise during in:er process communication. What role does the operating system play in handling such desdlocks? [2-343 xs B ins . Write short notes on: (any two) a) Flags in 8086 microprocessor b) Programmable interrupt controller (PIC) ¢} Instruction and machine cycles wee mE Marks 60 : “Exam. Bo Pass Marks 32 — Lee _— BEX, ihe Examination Control Division’ Programme scr Part li/ tl 2069 Poush wn words as far as practicable. Y Candidates are required to give their answers in their 0 ~ Atempt All questions. Y The figures in the margin indicate Full Marks. v Assume suitable data if necessary. ere the 1. Define stored program concept. Von-Neumann machine principle is the pioneer of th now days digital computer. Justify the above statement. 2, Draw the internal block diagram of 8085 microprocessor and explain each block. 3. Write a program in 8085 to transfer bytes of data with odd parity from logan a” A200H, else transfer the data by clearing bit Ds and setting bit D3. The end of the data bytes is indicated by 51H in the data. + what do you mean by statements? Write and explain commonly used directives in 7 i +6) 7 [8] {8} asembly language programming, 5. Write an assembly language program for 8086 to read a string, count number of vowels in 3 te string and display the string and its vowels count in a clear screen. 8) 6. What are the various machine cycles involved in LDA 80S0H instruction stored at memory location 8020H? Design an address decoding circuit for an input port interfaced aaddress 8050H such that LDA 8050 instruction can be used to read from that port. t ‘a transmission. Explain the 7. Distinguish berween synchronous and asynchronous serial dat signals and connections in RS232C serial interface standard. [44] pts. Explain the complete interrupt (+6) . Differentiate between hardware and software interru Rocessing for hardware interrupt in 8086, 9. Define paraie! processing and show that pipeline Fynn's classification 10. Write short notes on: (any two) (4 4) Programmable Peripheral Interface (PPI) f 4) Register transfer Language (RTL) J Operators in 8086 assembly language programming Q Feature of a typical operating system can speed up the processing. fed [s Regular / Back 21 TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING | Level iE VullMarks Examination Control Division | programme |}! - BE Pass Marks 32 1 2068 Bhadra Year / Part w/t Time 3 ben Subject: - Microprocessors cticable. Candidates are required to give their answermintheixown words as far as prac Attempt All questions The figures in the margin indicate Full Marks Assume suitable data if necessary. What do you mean by stored program concept? Explain the provessing cycle of stored program computer. [2+6} 2. Draw the block diagram of 8085 microprocessor and explain each part briefly. (8) oe Write a program in 8085 to transfer 8-bit number from one table to other by setting bit Ds if the number is less than 80H else transfer the number by resetting bit Dy. (8) What do you mean by directives and instructions? Explain the frequently used directives in assembly language programming. 5. Write a program in 8086 to read a string and count the number of vowels, consonants, @) numerals and other characters and display the count. NAKA 6. What do you mean by synchronous and bus? Draw the bus timing diagram for LXI B, 7492H which is stored in stored in memory location 8200H. 7. What do you mean by unique and non-unique address decoding? Explain memory mapped os 1/0 along with an example. How is interrupt processing different than polling? Explain how interrupt processing is wb done with 8085. 9. What do you mean B+5) 10. Write short notes on (4x28) a) Stack memory @> vusart see (2+6) by real and pseudo-parallelism? Explain Flynn’s classification. TRIBEUVAN UNIVERSITY TITUTE, RING 1 - bEx, | + ae a | BEL, BEX, | pass p “Hon Control Division | programme | BE! i Ee i i (fime 2068 Magh [Year/Part_| 1/1 Noa ors Microprocessor _ 2 /xe a McroprocSssOrm . acticable ed to give their answers in their own words as far a: p ~ Candidates are requi Y Am it All questions. Y. The figures in the margin indicate Full Marks, Y Assume suicable data if necessary. 1. Draw the block diagram of a microprocessor based system. Explain each part in detail, 2. Explain the instruction format and data format of 8085 microprocessor, Write down the [345] addressing modes of 8085 microprocessor, 3. Ten mo. of 8-bit data is Started in memory at AQOOH. Write a program for pe microprocessor to copy the-data to next table at AO30H if the data is less than 70H an 181 greater than 24H, ; B * 4. How are .COM and EXE Programs different? Explain assembling, linking and executing, 1 ‘process, ‘ Er iia [345] 5. Write.a program in 8086 to : numbe; {8} 6. Explain the important pin Signals of 8085 microprocessor. 7. Define synchronous and asynchronous serial _communication, Explain different handshaking Signals nsed in RS232. 8. What is internipt service routine? Explain the use of interrupt vector table in interrupt processing. 9. Compare and contrast RISC and CISC architecture [3+5) 10. Write short notes on: i” a) Assembly language operators b) PPI

You might also like