University of Technology Engineering and Information Technology Department Final Examinations for Year 2010/2011 Class: Third Time allowed: 180 min.

SUbject: Microprocessor Systems Design Examiner: Dr. Hassan A. Jeiad

Notes: Answer Any Six Questions includes Qt.
QlI (must be answered) 20 marks There was a simple interface circuit connected to 8088 MPU, and used as a calculator that adds two BCD values (with range from 0000 to 0100) stored at memory locations ADDRI and ADDR2, while the result of the addition is stored at memory location ADDR3. The bytes stored in the above memory addresses have been formulated as shown in figure (I) in the back. The circuit is required to display the contents of ADDR 1, ADDR2, and ADDR3 in five-digit seven-segment displays as shown in figure (2) in the back. The displays are interfaced to the 8088 MPU via single 8255 parallel port. Now, answer the following: 1- Draw the complete required interface circuit. 2- In few words, suggest an efficient method to make any of the displayed numbers in digits 1, 3, and 5 represents the decimal value of the equivalent BCD value stored in the corresponding memory addresses (i.e. the BCD value 0010 in ADDRI will be displayed in the first digit as 2, while 0011 will be displayed as 3, and so on). Q2/ 10 marks Draw the minimum-mode 8-bit memory write bus cycle for the 8086 microprocessor. Be careful that the accuracy in illustrating the different events in your drawing is essential. Q3/10 marks Define each of the dedicated, reserved, and general used memories. Which one is the larger size in usual? Q4/10 marks Draw the internal structure of 256x I DRAM, the structure of DRAM consists of four blocks of 64 arrays (8x8) for each. Determine the size of Decoder and multiplexers used by your design. Q5/10 marks Make a drawing that can be used as the parity-checker/generator in the data storage memory subsystem of an 8086 MPU system. Assume that parity checking is performed independently for the upper and lower banks of the memory array and that the parity error outputs for the two banks are combined to form a single parity error signal.

it is required to receive a character in serial from Input device. Value of \ ADDR2 i -. write a continues instruction sequence that do the following: 1. show the necessary control signals in your design. 0000 4·bil BCD value 8 bits Figure (I) for QI Valu e of ADDRI -: means Pluse / R 2 3 . 3. then send it in parallel to Output device. and then draw a block diagram shows your suggestion for connecting the interface components to the 8088 microprocessor to achieve the mentioned objective.Read the status register (816). Q7/10 marks F or the 8237 DMA controller located at address 2000H in the 110 address space.--. Determine the appropriate interface components for inputting and outputting the character. means Equal :orrespondiug :IispJay a f b Value of ADDRJ \ e d c Figure (2) for Q 1 . Q8/10 marks For a certain interface circuit.J---o: I 4 5 I I Jigit no.Q6/ 10 marks Make a diagram showing how 2764 (8Kx8) EPROMs can be connected to form a 16Kxl6 program storage memory subsystem. 2. then write the values 0116 for the command register (816) and the value 8616 for the mode register (816).Write the address value 235316 to the base and current address registers of this channel (416).If channel 2 had accomplished its last data transfer task. Notice that the address of the internal flip flop is (CI6).

...c J . _ i. " L "e.. lllw \ ...11 CO a ~~ Vac Clc..-.. e. 1kc. lA.S~ (Jiff>pIJ~J ~ e......q{O<~'-U'C.ttu..~r~ j q e.ALE- AO -flO 1- A~ .. e.' Ike /oi"~ k.J I- r(> 30 51)"'\ ~ I. e.-'C~ " L- St-Clre 1t::.. L.._ e... Y'I-l~~ () CO Ol IlA. IN\('~_'') 5~L.. I- I *'I. (e. '""J dol ~ -t- 66 6D D e-:r -:rF .1 """'-"'-\ ot t- a.-/ ... 10 J SI1.·b )( 1< x. tt:. ~ v41"'f +c.0 b i~ 3F I.~ Ot-3 o-f.....(_c--.-:>"d../'q / '-t .A..____. . ~ ------------------~ 1 1..~~ Jn-\... Co. 0-..." ""-----:~ ..... I" ~~ -e. J( f..J cA~~J'<..:v I..../eYff V~ 7/-A Io..'t~ OV1 _) A. c-t.A. ~~ ~ t.

.vJ tQ..p1- VlC.. s t-.Vlt:i" 5 PO... . crL -rta... 'j~rA... pU'Il"ltQ..". .je d e p..e 1 t1 e+vI : .V\.::..vr.. ((L5 _ vul Me--_:_: (......~te. f<.. ""' ...J . '1<IN'~ -----------------o V" .. +.f..A....YJ ..Y'~v{Jh <..~ s~~~ j .1"v.{ olPJt..-t.( VI -t..~JJ ~o~g" f...A-f~ ".. 5 . ~ ~ US~.. 5 e¥- I..t~. r S h> rlL J e.(__ 1.

--+-+-1 AJ --J._ .p f~ 0/ c-L 1L t-e_~ f-kJoCJ '(_.4 J ---+-1---1 A 1.:..-4-f--~ f~ I ~ U i!. .A do. ---../I t4Cf bo~~ ~ ~ --rr. Lj L .ret ""~ )0 I~1~LA <J f~ IA ell-i •.J TLCJ·.ey Ii0 _-----r1 .

l/"'e..J/~~ -tL {jUT MOV ().\~~ ut c... t '2. I 2 00>" IV AL..~ oL:. -z..k.-s: f>~ 1t:u..~ J3 V\A..I q~ !\.oo)s' I IiL ItL.1 e UA((_T ){If:/ fo ..£t..'V1 ~ f?T t~{~ s>"!..h: M (IV I I)/<.) J( I o U7 MOV' M.-} ~ Of-I (.N.~w h \t:_ Ia'j/-c._ .oJ_dtelJ ~. AL J i'lL...:-"'(JJ ~ h ~ s~.-t c.JD ~L. 2. 'LJ ~~JL. 04 J2:.AL CJvT 0".tZ)V IV1 ov I~XI '2.~ ~ cA." GI -+r~v.s~ ~ C-vY&.OV AL -'1 OuT 1\101/ J'-'\ 0 V (:J y.<'.. Col fJ. ~ \\ }. 1))< J s~+. c»] 6UT OXI AL 13 6 2-00 MOV M OV G~-. A. ~ bQ... .. '" "'" ~ { ..Ia.. .

.. o.e.. 7 A~ .J. - 1 'J r( '-' -d ""'~IO \ ar~44..l -~ I .. \ ""P" ~ o ~ ~O a PA1 .· dec- H'-J :IO/M prl - ~"l..eJ._ .J....c.-~ .. ~A.\ (~ \ .... . I~ .. ...'. A.. J ~H"'I V1...PA{J ~ '" ''RO ~IN"R._-OCJ .. f\ .. ~D "7 F=" ~ ACt lAIR... ~ c..~ ~ - .. AD ! I ..Jte.9 1 "':.- - f Rw ~ 1. ~ ~ ~ '.\0 N ~ ~ ""\ u...

Sign up to vote on this title
UsefulNot useful