This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: ECE 331
Fall 2009
Exam I
100 Points
50 Minutes CLOSED BOOK  CLOSED NOTES Problem Pa e s Value Score
1 l 20 2 23 37 3 4 17 4 5 10 5 5 6 6 6 10 TOTAL Instructions: 1. Check to be sure that you have all 6 pages.
2. Work only in the spaces provided. 3. Keep your eyes on your own work. Cheating will be dealt with to the full
extent of University policy. PRINT NAME: ms; SECTION NO.: l. (20) Short Answers. Use only the space provided.
a. Develop the truth table for the tri~state device shown below. (4) b. What is the base—lOrange for a 5—bit, 2’s complement number? (2) a: . “ms t ; ,
~25 E "t" 2g mi wwws'ig} .x ems '
a «ﬁf’DeMorgan’s Law for nvariables. (6) g
r a g {ﬁnal ﬁatvi “5 ﬁgs; ‘3; gist:ng is gas}; ‘3?“ “H d. What four features should you look at ﬁrst when choosing a new microcontroller
for a given application? (4) e. What is the minimum number address bus lines necessary t address 195210
individual 8bit wide memory locations? (2) “m”? Eff/4%. 5952 g s g; W
W f. If a given microprocessor can address up to K memory locations, how wide (in
bits) must an address be? (2) 2533: (a tug? gmel’wb E 2. (37) Application of Arithmetic Principals. A. (8) Convert the following to 16—bit 2’s complement format. Give answer in hexadecimal notation. 25f) géﬁ
, ‘ "2“ Z _ I 9 vi
359710: E EV agar; 2:» 51W» in «E‘ ﬂss gas “it Eﬁiatiea 2 3532—5 B. (8) Find the base10 value considering the following asl6bit, 2’s complement number
given in hexadecimal notation. CBE016= t” igﬁiiii Mae gait Etta; agate «was. it; any: in we teams; assz: .2: 322%: are was: is $2.", "are? we 333.2%in C. (21) Consider the following hexadecimal strings. Perform the indicated arithmetic as
the 68HC12 would do it and determine the ﬁnal values of the indicated ﬂags. Show all work and give your answers in hexadecimal. (7 points each) i.E3—CB Cg; W7C) mtg We @ﬁti we}? 3. (17) Consider the following 3—Variab1e function: F(X,Y,Z) = (Z + XY') + (X + Z)‘ A. (6) Manipulate the function to a canonical minterm form and express as 21110). : Er: sway? mfg 3 E2
Eases? awsfﬁ 9 ms) forms. POS (product—of—su ><\ . .i g a Ema; '5; X as: a; Z w > s 5%;
_ é , i i 5'
Eta/:th 3" X +‘ '3‘?” gm, i§ if? :05 W E a w a , , ~ w "
Em m swam % {am as; C. (3) Express the function in a minimum NAND form. é a
., ‘37" x was “‘8
FA 2m: X *i’ an é
K433 5w» “’33 W“ .‘ g , a;
s a 5 ’ g; a ’ *r
r ' g
ML: ﬂex?» :5 aw geysﬁvga, 4
A ;
Mg pi! fﬂﬂsﬁ’g g a:
s g 5:} ﬂ 3 & fw‘é “civil” if 354 g {Mag
r 4. (10) Design a 1—bit controlled complementer circuit using only AND, OR and NOT
gates. You do not have to draw the circuit; just provide the minimum form equation in SOP or POS (your choice).
‘ f‘» 5. (6) Fill in the names (indicated by numbers 16) of the components of the standard
Von Neumann architecture model shown below. 6. (10) Laboratory Related Question: Consider the NAND form equation F(A,B,C) = (A‘C) + (AB). Prove by use of a K—map
that the function is in minimum form and show the wiring diagram to implement the
function on the 7400 quad 2—input NAND chip shown below. On the right are inputs A,
B and C. Use pin 6 as the output, F. Also, include the power and ground connections shown on the bottom left. Q) n/g g??? f g
to answer? $5 5Volt GNDWWMWMWWW ...
View
Full
Document
 Fall '08
 M.SHANBLATT
 Assembly Language, Microprocessor, Positional notation, Decimal, MOS Technology 6502, John von Neumann

Click to edit the document details