0% found this document useful (0 votes)
29 views16 pages

Workspace Micro

Uploaded by

Aye Bihari
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)
29 views16 pages

Workspace Micro

Uploaded by

Aye Bihari
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/ 16
B.TECH It" YEAR ELECTRONICS & COMM. ENG! SUB + MICROPROCESSOR CODE = ECE-$304/401 Attempt all Sections as directed Section — Note — All questions are compulsory. Each question carries 2 marks. 1) Draw a schematic with explanation to demuitiplex the bus AD7 ~ ADo using D type latch 74LS373. 4 6 ip @ What will be the value of reg, {A? when there is interrupt on RST 5.5 before SIM and after RIM Justify your answer with proper explanation. Q3 Draw hardware to execute subroutine from address 0 What is subroutine? Explain all the instructions which is related to subroutine yas hs Explainthe-flag register of uP 8086. VRS, 1028 H when there is interrupt on INTR line. Give the features of8255 nd also explain the BSR mode feleast3-assembler directives of 1P 8086. ty 7 —arharis assembler directives? Exptain, with exe: 8 — Whatis difference between single mode and cascade mode of PIC. Section —B } Note — Attempt any Four questions. Each question carries 3 marks. ner 69, (Design memory with following address range for 8085 system ~ (chip wut) RAM 8000 TO 9FFFH , EPROM 8000 TO BFFFH Memory devices available- RAM 4K X8 AND EPROM 4K X4. Use suitable decoder for chip select logic cireuit. QO) Draw.the timiftg diagram-for instruction IN-CD-H.-by showing athe contrat -and-status-signals. Gi —Exptairaitthe intemal repisters-of 6259: Write an ALP in 8085 to input data stream via SID line. The bit time is 200 msec. Read 2200 bits | ‘and to count number of ‘+ve", ‘ ~ ve’ and zero elements in the block of data bytes of signed numbers. | Store the count values in memory from location 4000 H onwards. If the system CLK frequency is | | + 3MHz. Draw the interfacing circuit t connect 7 ~ segment display digit with 8085 using 8255, Also write ‘a. the program to display = , ;-,,}-(in7—segmeit display) after every 20 milliseconds if system "7 CLK frequency is 3 MHZ. “” ‘UIET, CSIM UNIVERSITY ‘Sub Name t Microprocessor (ECE-S304) ‘Year : 3" Year @K19) + 2021-2022 (V" Sem) End-Semester Examination on Marts) Note : There are Three Sections. Attempt all the Sections as Directed Section - A Note : Attempt all the Questions. Each Question carry 2 Marks. swing Instructions Qu Explain the follo ii) POP Rp i) RPE We WG a- Explain with example the role of Adder unit in pP 8086 Explain the various initialisation command words of PIC. Draw hardware to execute subroutine from address 0028H when there is interrupt on INTR Line, Give the various features of Programmable Interval Timer: Section -B Note : Attempt any Five Questions. Each Question carry 4 Marks “6 Draw the timing diagram for STAX. Re by showing all the control and status signals 7 Explain atleast 6 assembler directive of pP 8086. 7 What is assembler directv 5 GIN TEE 7 ummm an! manure aro Use devotes forchipse lest rethods to reset ISR bit of PIC. Q.9 What are different m« n SOD pin at a frequency of 10 Hz. The Write an ALP to generate 100 pulses 0 pulse OFF time is 0.06 seconds. ‘Assume system CLK frequ 1B circuit to connect the t Draw the interfacin ency is 3MHz raffic lights control circuit with 8085 <8 ging 8255.Write an ALP for the lights remain ON for the following periods : Groen ight ~ 20 seconds, Yellow light — Panos Redlight 20 seconds, Walk sign - 20 seconds and don’t walk sign ~ 25 seconds. If the crystal freq. is 3 MHz. Section - C Note : Attempt any Two Questions. Each Question carry 5 Marks. Que Write an ALP in 8085 to solve the following equation Z = ab? + cd where a,b,c & d ation use subroutine. Store the result in memory are an 8 ~ bit mnbers. Fo: from jocation 4000 H onwards. QY3_ Write an ALP in 8086 to solve the mathematical equation : =[PQ+((P+Q)/P-Q)]/R where P & Qare an 8 bit numbers and R is a 16 — bit number, Qy14 Write Short notes on any Two of the following : ) Types Memory _ iy Registers of pP 8086 i ‘Subroutine Instructions B.TECH I" YEAR ELECTRONICS & COMM. ENGG. SUB :- MICROPROCESSOR CODE :- ECE-S 304/401 Note — Attempt all Sections as directed. Section—A Note — All questions are compulsory. Each question carries 2 marks. QI Explain in brief the working of the instruction XTHL with example & also find the machine cycle &T Draw a schematic with explanation to demultiplex the bus AD; ~ ADo using D type latch 74LS373 Write program to generate a square wave of frequency 2 KHz on Pes pin of 8255. System CLK frequency is 3 MHz, Explain the flag register of uP 8086. Explain the various operational command words of 8259. Nd!) St Section panony 2% Note~ Attempt any Six questions. Each question carries 3 marks. 06 Design memory with following address range for 8085 system — 7 EPROM 8000TO8FFFH , RAM A000 TO AFFFH Memory devices available- EPROM 2K X8 AND RAM 4K X4 Use suitable decoder for chip select logic circuit. Nba Draw the timing diagram for instruction IN CD H by showing all the control and status signals. QB Explain all the internal registers of 8259, v»)% \% @ Draw the interfacing circuit to connect 7 ~ segment display digit with 8085 using 8255. Also write the program to display E.C.E.( in 7— segment display) after every 20 milli Bio seconds if system CLK frequency is 5 Miz Write an ALP in 8086 to find out the average of tne elements of an array. Q411 What is the function of INTA in the operation of 8259? Explain it by suitable example. length of data block is | _ 2050 H onwards and the amet anbers from 106: ven nul Jock of data is stored inmemory fror present in memory location 20SF H..Write 29 ALP i a “tion 3000 H onwards and store all the Odd numbers from jocation 31001 a in 8085 to store all the E H onwards. Section — Note— Attempt any Three questions. Each question 0.13 Explain the various types of Interrupts of uP 8085 and also explain all the instructions which is related to Interrupt control. Ne 14 Explain, with example, the various addressing modes of uP 8086. QS Draw the interfacing cireuitto connect 12-bit ADC with 8085 using 8255 . Write a program to read digital (ADC) data using interrupt driven /O and store di 00 H onwards ant als multiply this data in memory from | result in memory in Dex dhe interfacing to connect single 8259 with S085 system and write the program to initialize 8259 so that vector location for Ko will be 9C CO H. There is 4 byte spacing in vector location and edge triggered interrupt request. Qu Explain with example at Leost 4 -adgembler af UP LOPE us Explain tn brief War working aft fat RshucHows PUSH? DP wikh Cxarple ows Explain HW. Jarious operating Mods. of PPL Gua Explode wr BEVond EV ot MP ‘ dust shot is Me Segmentahanel Manory dn by. exhain wilt erample Que sue an ALP An Bote fo Whd out ML qroadenl 0. in WL annay of Yo dota words. and the Jength of data block is all the Even num ards. lock of dataLis ry 5 wards fdataiis stored in memo from location 2050 Hom ard! present in memory locat eat. Wt «in memory location 204F Write 29 ALP in 8085 10 Store oi and store n 3100 H on! “tion 3000 H onwards and sto all the Odd nus atiol ° 7. ers from loc! abers from loc Note— Attempt any Three questions. Each question carries 4 marks. 0.13 Explain the various types of Interrupts of pP 8085 and also explain all the instructions which is related to Interrupt control. 4 Explain, with example, the various addressing modes of pP 8086. Qs Draw the interfacing circuit to connect 12 bit ADC with 8085 using 8255 . Write a program to read digital (ADC) data using at driven 1/0 and store the readir in memory from location 2200 H onwards an °!s muitiply this dat tore the result in memory in-sequesce. 2s the interfacing to connect single 87.59 with $085 system and write the program “5 to initialize 8259 so that vector location fox fo wil be 9CCO H. There is 4 byte spacing in vector location and edge triggered interrupt request. €xp Gain with example ,at Seort 4 -asgembles of Lp £OF6 aus éxhton fr bodef Ru woorkles of rat Rshuckous PUSHEP DP vole Cxanyle Explain Ww Various operating Mody of CPI Gua @xpladn Hat BLY Ord Euct MP Qu whet is me Segment Qh ait On to dota words » ahonal- amovy din bu explain win example AL sin $o8G 40 thd out HAL qransert wo. in Mt annay of Ui. QUIZ-I Draw ha jardware to execute subroutine from address 0028 H when there is Interrupt on INTR line MM : ’xplain, with example, at least 4 assembler directives of P 8086. Q.3 Give the various features of PIC. ers are stored from memory location 3250 H onwards. The length of series is given i 8 bit signed numb: gi mory location 324F H. WAP to count number of ‘+ ve’, ‘-ve’ and zero element in the block of dat a ms the count value in memory locations 3000 H, 3001 H & 3002 H respectively and store emory chi s 256 X | bits, how 1 ps are required to makeu 1 KB of memory? {i] DEPARTMENT OF ECE ‘ UIET, CSJM UNIVERSITRY es SUB ; MICROPROCESSOR (ECE-S304) SEMESTER ; v"™ YEAR : 3° 2Ki8) Mid Semester Examination-2020 ‘Time : 1.5 Hrs MM : 20 Note : Attempt all the Questions. Calculator is not allowed. QD trthe memory chip size is 256 X 1 bits, how many chips are required to makeup LKB of memory? a ‘The memory address ofthe last location of a EBmemory chip is given as FBFF H. Specify the memory map. 0) : QB Explain the process of Opeode-fetch. 2) the ingtuction LDA Address, if the crystal frequency B] ‘of an 8085 system is 3MHz. ee GF Wey Sposa purpose resisters ate 16s? Explain Q % Gy WeemaLPioaitno,24bimmies prsetin egies BD LCE, Mas _ Store 25 bit result in memory starting from 4000 H onwards using RIAM instruction 2.8 _ ; 4] Write an ALP to exchange the 24 bit data of memory locations 3000H onwards and ‘5000H onwards. (4) | |CATION ENGINEERING. ¥Y, CSIM UNIVERSITY, KANPUR DEPARTMENT OF ELECTRON! E NICS & COMM r Rae eee GAN TENDS MICROPROCESSOR (ECE-S304) ‘Semester: 2022-23 (Odd Semester) ‘Year: 3rd Year (2K20) Mid Semester-II Examination ‘Time: 1.5 Hrs. Maximum marks: 30 ‘All questions are compulsory Section =A. Note: Attempt all the Questions. Each Question carries 1 Mark, Q.1_Afterthe exceution of XRA_A what isthe salts of Flag 2 How many number of Interrupt pins in 8085? 3 Sub program is always terminated by which instructions. nd, then the processor operates at which frequency, Q4 One T-state is 0.1 microseco struction RRC. Q5 Explain the Q6 1A=C8Ht giving proper calculation? ‘What is the main difference betw' re indepen /OP-what is the status of SP? ce tie cea Ot ai eset of PSW by Qi een the archiecture of 8085 and 8086? Q.8 Conditional instructions ident of which of the flag? Q.9 After the execution of PUSH & Pt Secti Note: Attempt all the Questions. Each Question earries 3 Mark. Interrupt Asie) veshe westor table for both DEPARTMENT OF ECE SUB :MICROPROCESSOR (LCE-S304 e ESSOR (ECE-S30. SEMESTER : V : NEAR: 3" 2K19) ‘ Mid Semester E : Re Gein id Semester Examination - 2021 Note : Attempt all the Questions. Calculator is not allowed. No opcode table is allowed. Section — A Note : Attempt ail the Questions. Each Question carry 2 Marks. ®& Qf Explain the function of following pins- ) Xe ii) NTA Explain in brief the following instructions with example. i) MOV Ms ii) | RRC y Explain the yarious status signals. Section - B : Attempt all the Questions. Each Question carry 3 Marks. Calculate the execution time of the instruction $ ‘A_ Address, if the crystal frequency of an 8085 tem is 4Mliz. Also explain the different machine c; cles that execute by this instruction. ¥ . 5 Explain the various steps of sequence of execution of program by giving suitable diagram. Section - C - . Note : Attempt all the Questions. Each Question carry 4 Marks. Write a program to subtract two, 24 — bit numbers present in registers B-D-H & L-C-E. Store the result in memory starting from 7000 H! onwards using RIAM instruction. 5 Write an ALP to reset 4 LSB’s, set 4 MSB’s arid compliment rest of the bits of register Pair H-L. 4 8 4 Mit Lat papas , us uaxo, | at per a sf erie! pt Lx se, 0010 4 xt D, como x1 8, 00301 Lxt #00201 DAD SP seta. xcHG L: Dex D MoV AH ona E INE ere execution of te following ck of 0 na prom i memory tom fcton ABCD HW A ‘ee Verh a rven re fom oation DEB 4 soma tres we red fom eey lesson 4000 Hse Wren a AL 8 ‘ech vanities tre rom, son Weert er store it fom $000 H ona {DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGIN ERSITY INSTITUTE OF ENGINEERINGAND TECHNOLOGY, CSIM UNIVERSITY, KANPUR S304) MICROPROCESSOR (EC Semester: 2022-23 (Odd Semester) ‘Mid Semester-II Examination rd Year (2K20) Year Maximum marks: 30 ‘Time: 1.5 Hrs. ons are compulsory Section. Note: Attempt all the Questions. Each Question earries 1 Mark. Q.1 After the execution of XRA_A what is the status of Flag number of Interrupt pins in 8085? Q2 How ma Q3 Subprogram is always terminated by which instructions Q4 — OneT- state is 0-1 microsecond, then the proces sor operates at which frequency. Q5 Explain the instruction RRC. Q6 If A=CBH then after the execution of ANI 48 Hwhat is the value of PSW by giving proper calculation? Q7 Whats the main difference between the architecture ‘of 8085 and 8086? Q8 Conditional instructions ae independent of which of he flag? Q9. _Afterthe execution of PUSH & POP what isthe status of SP? Section -B ions. Each Question carries 3 Mark. Note: Attempt all the Ques! ek Caloulate the Execution time o Frequency ofan 8085 sytem is 4 MHz and ifPSW = AAT Quy Explain the following instructions ‘with example i) XTHL jy RNC ~ i) sP-Adae ‘After the execution of the following program, find the fi Jfthe instruction INZ Addr, ifthe crystal I value of Registers A, D, E, ar Hy L& Flag by showing the necessary calculation. The program is given below MVI A,35H ‘ADI 20H RAL MOV EA ADD A RAR Mov 0,A Ut H, ARAAH pap © Mov A. RAL HUT } Section =C Note: Attempt all the Questions. Each Question carries 6 Mark. a bit signed numbers are stored from memory ovation 2150 H onwards, The length af series is given in memory Iocation 2]4F H- Write ALP to count the number of and store the count values in mem- and zero elements in the block of dat ards, -ory locations from 2100 Hon the IMP pod SPB)nstruction by y giving the suitable ida) Explain the difference betwee ‘example and also give the v' jon ofthe above, G i. rious machine eycles in the execut quite) Give the vector table for both eset Interrupt wy UIET, CSJM UNIVERSITRY —! ICROPROCESSOR: (a 23" aks) SUB: semester: yr SUB Staats bare Mid Semester Examinetton - 2021 mR Fai Note: Attempt all the Questions, Calculator is not allowed. No opcode table is allowed. Section ~ A bee 2 Attempt all the Questions. Each Question carry 2 Marks. 17 Explain the function of following pins- ws i) X ii) NTA ee QY Explain in brief the following instructions with example. 6 i) © MOV MRs RRC Explain the various status signals des ue Section - B Note : Attempt all the Questions. Each Question carry 3 Marks. QA Calculate the execution time of the instruction STA Address;#F the crystal frequency of an 8085 system is 4MHz. Also explain the different machine cyéles that execute by this instruction, x Explain the various steps of sequence of execution of program by giving suitable diagram, Section —C i Note: Astempt aii the Questions, Each Question carry 4 Marks. QF Write a program to subtract two, 24 — bit numbers present in registers B-D-H & L-C- Store the result in memory starting from 7000 H onwards using RIAM instruction. TAK y Write an ALP to reset 4 1'SB’s, set 4 MSB’s and compliment rest of the bits of register —~ Pair H-L. ov ‘ An FO 4 xRI Fo | oni Fo XH, OF H

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy