




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Professor: Patterson; Class: Microprocessor System Design; Subject: Electrical & Computer Engineer; University: Virginia Polytechnic Institute And State University; Term: Spring 2008;
Typology: Exams
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Only aid permitted is the MicroBlaze Instruction Set Summary 75 minutes Total points: 45 Name:______________________________ Instructions
SHORT PROBLEMS (1 point each) Circle T if the statement is true, else circle F. If necessary, state any reasonable assumptions to support your choice. A correct response is worth one point. T or F : Embedded microprocessors usually have lower clock rates than desktop processors. T or F : RISC architectures attempt to decrease the size of instruction memory. T or F : In the MicroBlaze architecture, 32-bit words must be aligned on an address that is a multiple of 4. T or F : MicroBlaze is a big-endian architecture. T or F : It is impossible to inadvertently execute data in a Harvard architecture. T or F : The .org directive can only be used once in a program. T or F : Device drivers do not have to be written in assembly code. T or F : Memory-mapped I/O avoids the need for a device driver. T or F : MicroBlaze Type A instructions are faster than Type B instructions. T or F : MicroBlaze has 32 registers because it has a 32-bit architecture. What do the following acronyms stand for? RISC _____________________________________________ HLL _____________________________________________ GPIO _____________________________________________ SEXT _____________________________________________ SPR _____________________________________________
2. [3 points] Provide either C-like code or a succinct English description of the operations performed on memory variables A and B by the following code: addi r5,r0,A add r6,r0,r L1: lbu r7,r5,r beqi r7,L addi r5,r5, addi r6,r6, bri L L2: swi r6,r0,B Be sure to define the types of variables A and B.