100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

Ecen 350 post-Exam1/pre-Exam2 quizzes well answered

Puntuación
-
Vendido
-
Páginas
41
Grado
A+
Subido en
11-10-2025
Escrito en
2025/2026

Ecen 350 post-Exam1/pre-Exam2 quizzes well answered

Institución
Ecen 350
Grado
Ecen 350











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Ecen 350
Grado
Ecen 350

Información del documento

Subido en
11 de octubre de 2025
Número de páginas
41
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

Ecen 350 post-Exam1/pre-Exam2
quizzes well answered

For all R-Type instruction, Read Data 2 is connected to the ALU.



(quiz 11, true or false) - ANS ✔true



EXPLANATION:



In the LDUR and STUR instructions, the ALU is used for the __________ calculation.



(quiz 11, fill in the blank) - ANS ✔address



EXPLANATION:



The registerfile does not produce any output on Read Data 1 and Read Data 2 for the B
instruction.



(quiz 11, true or false) - ANS ✔false



EXPLANATION:



Assuming Fetch has placed an instruction on the bus called I[31:0] (in Verilog notation), which
wires should be connected to "Read Addr 2" on the register file for the proper execution of R-
Type instructions.

,(quiz 11, fill in the blank) - ANS ✔I[20:16]



EXPLANATION:



For the CBZ instruction, the ALU must be set to perform the "pass _________" operation.



(quiz 11, fill in the blank) - ANS ✔input b



EXPLANATION:



A given program has the following instruction mix:

Instruction Type | Frequency

R-type | 35%

LDUR | 34%

STUR | 14%

CBZ | 15%

B | 2%

The fraction of all instructions that use the instruction memory is: _____

The fraction of all instructions that use the register file is: _____

The fraction of all instructions that use the sign-extend unit is: _____

The fraction of all instructions that use the ALU is: _____

The fraction of all instructions that use the data memory is: _____

Enter you answers in percent.



(quiz 11, fill in FIVE blanks) - ANS ✔100%

98% (everything but B)

,65% (everything but R-type)

98% (everything but B)

48% (LDUR+STUR only)



EXPLANATION:



Consider an ISA with a sign-extender unit that accepts an 8-bit branch instruction of the
following format



opcode | offset | opcode

2 bits | 4 bits | 2 bits



and outputs an 8-bit sign-extended offset.

Let the input bits be X7, X6, ..., X0 and the output bits be Y7, Y6, ..., Y0.

Enter the value of each output Yi in terms of an input Xj. (Note: X0 and Y0 are the rightmost,
least-significant bits.)

Y0 = _____

Y1 = _____

Y2 = _____

Y3 = _____

Y4 = _____

Y5 = _____

Y6 = _____

Y7 = _____



(quiz 11, fill in EIGHT blanks) - ANS ✔X2

X3

, X4

X5

X5

X5

X5

X5



EXPLANATION:



With the previous question as warmup, consider now a different ISA, in which the sign-extender
must consider two types of branch instruction formats:



Conditional branch:



opcode | offset | opcode

1 bits | 5 bits | 2 bits



Unconditional branch:



opcode | offset

1 bits | 7 bits



Let the input bits be X7, X6, ..., X0 and the output bits be Y7, Y6, ..., Y0, as before.

The bit in the first opcode (X7) encodes the instruction format. If X7 = 0, it's a conditional
branch, while if X7 = 1, it's an unconditional one.

Complete the logic for each output Yi in terms of inputs Xj below. Enter answers in the format
"X0 AND X1" or "X0 AND NOT(X1)".

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
BravelRadon Havard School
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
886
Miembro desde
4 año
Número de seguidores
540
Documentos
43153
Última venta
1 semana hace
EXAM HUB

Welcome to Exam Hub Are you looking for high-quality, exam-ready notes, past papers, Test Banks, and well-researched study materials to boost your grades? You’re in the right place! I create and upload detailed, easy-to-understand, and well-structured documents across multiple subjects. All my materials are designed to help you study , save time, and excel in your coursework and exams! On this page NURSING EXAMS,STUDY GUIDES,TESTBANKS AND QUALITY EXAMS IS THE KEY TO STUDENTS CAREER EXCELLENCE, you find all documents, package deals, and flashcards offered by BravelRadon (EXAM HUB STORES!)....kindly recommend a friend for A+ GARANTEEd either you are a first-year student or final-year graduation! best of luck!

Lee mas Leer menos
3.5

157 reseñas

5
57
4
30
3
32
2
8
1
30

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes