0 ratings0% found this document useful (0 votes) 79 views4 pagesCse 412 PQ-1
Question based on the microprocesspor
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
MICHEAL OKPARA UNIVERSITY OF AGRIC, UMUDIKE, ABIA STATE
DEPARTMENT OF COMPUTER ENGINEERING
FIRST SEMESTER OF 2021/2022 SESSION
INTRODUCTION TO MICROPROCESSOR: CSE $12
ANSWER ANY FIVE QUESTIONS TIME: 3HRS
QUESTION ONE
4. Design a memory systein of size 8 K-byles to interface with the 808Smicroprocessor. Start with the addressO000H.Assume that you
have to use fourpieces of ? K-bytes RAM. {[amarks]
2 Give @ general pin digran description of an 8085 jp with a dngram,3arks] -
hat is an interrupt and how many interrupts are available in an 8085 sip. {3marks} L
4. What happens to AD, To ADs, if ADL contol pin value is |-and when ADL control pin value is ~ O.4anarks}
QUESTION TWO
a, What factors affect the selection of a microprocessor for a control operation?[4marks}
is Develop a circuit that will light sixteen (16) bulbs in a forward and later reverse direction. [4marks}
‘©. What are the basic functions ofa microprocessor [3marks}
4. Differentiate between Microprocessor and Microcontroller [Smacks]
QUESTION THREE
2 Explain what is an Adidresting Mode [2marks) atk
LP Explain five types of Addressing modes you know with examples, specifying the operations, source of data and destination of
‘results, {Smarks}
©. Why do we use Assembly language to program microprocessor [Bmarks] ‘
4, Explain in brief the different components of 8085 microprocessors (4marks)
QUESTION FOUR
8, Write a program to subicaet a 16-bit binary number stored in 89A0 and 89A1 from another 16-bit number in 8980 and 8981
(4marks)
bb Saw a system Bus ani! explain the following: (). Control bus (i). Address Bus (ii), Data Bus{4marks)
Differentiate between Gus Protocols and Bus Arbitration {2marks}
. Explain why Buses are necessary in computing {1mark]
fe. What are the differences and similarities between 8085 and $08 microprocessors?{3marks]
QUESTION FIVE
2. With the aid ofa pin ingram. briefly discuss five salient features of 85 microprocessor [4marss]
bb. Ouiline four functions of'a microprocessor stating which component performs the function. [2marks}
¢, Describe the data an address buses of 8085 inicroprocessor sting clearly their major differences.[2marks]
Jute the five major internal operations of 8085 microprocessor. (3marks]
Cast and explain the wenera-purpase registers that exist in an 8088 microprocessor. (Smarks] Oo
QUESTION SIX
‘a, The 8085 niicroprocessorhns 2 16-bit address bus and an 8-bit data bus. What are the implications of this design choice? [3marks]
What are the modes of opesation of the 8255 progranimable peripheral interface (PPI) and how can it be configured to interface with
different types of peripherals using its control word? {amarks}
e Explain how the pin configuration ofthe 8085 microprocessor allows for interfacing with external devices such as memory.
inpuv/output peripreras. nd ters, and provide examples of how this ean be used in embedded systems {marks}
4. What are the different way’ to improve the performance ofthe 8085 CPU architecture? (Bmarks}
QUESTION SEVEN
© Design a circuit that uses only subset of te pins ofthe $U85 microprocessor to implement a specific function. and provide a
detailed explanation of how the circuit works. f4marks]
bb. Desig a circuit that uses the 8255 PPI to interface with an extcival perioherel, such as @ keypad or a display. and provide a detailed
cexplanatibn of how the circuit works, [4mmacks}
E'What are the modes of operation ofthe 8255 programmable peripheral interface (PP!) and how ean it be configured to interface
‘with different types of peripherals using its control word? [marks] ~
4. Discuss the different methods for in with extemal peripherals in embedded systems, including parallel and serial
‘communication, and explain the advan isadvantages of each upproach, (3marks]
+ Bus Grobe Ane yuleyMICHEAL OKPARA UNIVERSITY OF AGRIC, UMUDIKE, ABIA STATE,
: DEPARTMENT OF COMPUTER ENGINEERING
FIRST SEMESTER OF 2020/2021 SESSION ‘
INTRODUCTION TO MICROPROCESSOR: CSE 412 }
1
ANSWER ANY FOUR QUESTIONS TIME: 23HRS
QUESTION ONE a
2:/'In the simplest term, explain what you understand as @ “Microprocessor” and use an expression tp sow i
felationship with microcomputer. oo anes
(Find the ending address of an 8 K-byte memory if the starting address is 0 Smet
Matis the ending address of a 2 K-bytes memory whose starting address is 3000H? ant
Design a memory cireut to interface a 4 K-byte RAM to an 8085 microprocessor with starting address
3.5 marks <
9 \nat factors affect the selection of a microprocessor for a control operation? Amarks:
aifgerion Two “anorks
Design a memory system of size 8 K-bytes to interface with the 8085 mai
mareprocessor, Sta with the address OOOOH. Assume that you have to use four pieces of 2 K-bytes RAM.
Per ’2 general pin diagram description of an 8085 pp, with a diagram. 2.5marks
iat is an interrupt and how many interrupts are available in an 8085 Hp. Smarks
4 What nappens to ADs To AD if ADL contol pin value is = 1 and when ADL control pin value is= 0, Amarks
Develop citcuit that wil ight sixteen (16) bulbs in a forward and later roverse direction. “marks
QUESTION THREE ; -
he following terms associated with Mieroprocessors: (instruction set, (i) Bandwidth, (ii) Clock speed and
(iv) Word length. marks
B Drawa simple block diagram to depict a microcomputer, marks
Determine the beginning address and ending address of an 6085 up with 8-bit data bus, 16bit address bus with an
@KB-ROM, : : —Amarks
ifthe starting address of an BKB -ROM is OS36H, what sits ending address? “amarks
What are the basic functions of a microprocessor 3.5marks
ESTION FOUR
Explain what is an Addressing Mode 2.5marks
Ub-Ciplamn tv types of Aadressing modes you know with examples, speciving the operations, source of data and
destmation of results. ‘marks
(i iy cow we Peel lnguageo program miapocesso Koy Br At Smart
9 xplain in bret the difierent components of 8085 microprocessors “Ung, Bley, Fy Amarks
2, Diferentiaie between Microprocessor and Microcontroler—” ous mare
- QUESTION FIVE
a. Write a program to subtract a 16-bit binary number stored in 89A0 and 89A1 from another 16-bit number in 8980 and
8981 Smarks
Draw a system Bus and explain the following:
i. Control bus ii, Address Bus iii, Data Bus Amarks:
© Bitterentiate between Bus Protocols and Bus Arbitratio#—~ mark
“d. Explain why Buses afe necessary in computing 2.5mark
, e. What are the differences and similarities between 8085 and 8086 microprocessors? ‘marks
QUESTION SIX
‘a. With the aid of a pin diagram, briefly discuss five salient features of 8085 microprocessor Smarks
* _b, Outline four functions of a microprocessor stating which component performs the-functian. 2.5marks
1M Desérive the data and address buses of 8085 microprocessor stating clearly thejr major differences. marks
» CA Outline the five major internal operatiois operation of 8085 microprocessor. hs 3marks
¢Ustand explain the general-purpose registers avalable tat exist in an 086 microprocessor. marks
bo eee ee
weMICHAEL OKPARA UNIVERSITY OF AGRICULTURE, UMUDIKE
COLLEGE OF ENGINEERING AND ENGINEERING TECHNOLOGY
COMPUTER ENGINEERING DEPARTMENT
FIRST SEMESTER EXAMINATION 2019/2020 SESSION
CSE 412: INTRODUCTION TO MICROPROCESSORS
INSTRUCTION: ANSWER FOUR QUESTIONS TIME: 2.5 HOURS
QUESTION 1
‘a, What are the basic functions of microprocessor 2marks
b. Explain what is an Addressing Mode 2marks
c. . Explain Five types of Addressing modes you know with examples,
specifying the operations, source of data and destination of results Smarks
d, Why do we use Assembly language to program microprocessor 3marks
¢. Explain in brief the different components of 8085 microprocessors 3marks
f, Differentiate between Microprocessor and Microcontroller 2.5marks
a, Assuming there is a class of $ students with the following grades 69,87,96,45 and 75, Write an
assembly program to find the highest grade and save it in a certain memory location.6marks
b. Iden
j. MOV BX, DATS
ii, B MOV BX, OFFSETDATA1Smarks
the difference between the following two instructions:
¢. Whatis the work of an interrupt operation in microprocessor?2marks
4. Explain what instruction cycle means in Microprocessor2marks
¢. Explain why data bus is bi-directional2.5 marks
QUESTION3
a. Write an 8051 program to detect an input voltage equal to 2.5V. Make an LED to glow at the
output when Vin = 5V Smarks
b. Explain the difference between Microcontroller and Microprocessor.4marks
& Assuming there is a class of ten syudents with the following grades:
77,46,50,36,56,68,40,63,70,29. Write a program to find the bunber of passed students and save
the result in memory.6.Smarks
4. Explain the function of a CPU in microprocessor. 2marksE
WN
QUESTIONS
i i ion diagram, expl
a. With the aid of a well labeled pin configuration
Similarities between the Minimum and Maximum modes of 0]
Microprocessor.
5 Smarks - ; oe
penathibe the parts and functions of the Bus Interface Unit and the Execution unit of the 8086
microprocessor. Smarks
cc, What happens when the instructiot
MOV DX CX iii. PUSH CX
fain the differences and
eration of the 8086
¢
Microprocessor?
iven to the
ns below are gi iy, SUB AL,OFH4marks
i, OUT 047H, AL ii
d, What Three (3) things should a programmer specify when addressing the Microprocessor?
3marks
QUESTION 5
‘on of Stacks and Subroutines. 3marks
‘a. Explain in details, the operati
s differentiate between the push and pop operations and
b. Using appropriate diagram
Jementing them. 5.5marks
state the cautions that should be taken in imp!
c Why ate Delays in Microprocessors impottant and how can they be
generated?3marks
4. List four (4) functions of Assembler directives. 2marks
What are the advantages of Assembly Language over Machine Language? 4marks
QUESTION 6
a. __ The content of the different registers in the 8086 is CS = FOOOH, DS = 1000H, SS = 2000H
and ES = 3000H. Find the base address of the different segments in the memory.
4.Smarks
b. Write the function of the DF, IF and TF bits in the 8086 3marks
What is meant by DMA operation? Which’ pins of the 8086 are used to perform the DMA
a
operation in the minimum and maximum modes of the 8086? 4marks
d. Write a program to add the two BCD data 29H and 98H and store the result in BCD form in
the memory locations 2000H: 3000H and 2000H: 3001H. 3marks
€ With the aid of a Wel\ labelled diagram, explain Time/Counter control Logic3marks
ee