Autumn 2025 — Fully Solved

Answer all three. Reveal after attempting.

Q1 (CO1) — Moore & IAS

1aState Moore’s law and summarize its consequences.
1bCalculate the IAS main memory size in bits, bytes, and words.
1cbigAdd M(08A)+M(08B), subtract the sum from M(08C), write to M(08D). Assembly + machine code.

Q2 (CO3) — Amdahl & CPI

2aState Amdahl’s Law and derive the Speedup_overall equation.
2bbigProgram = 120 s, multiplication = 90 s. How much must multiplication speed up to run the program 3× faster?
2cbigCPI A/B/C/D = 1/2/3/4. Seq1 = 4/3/2/1, Seq2 = 3/1/1/3. More instructions? Faster? CPI of each?

Q3 (CO2) — MIPS

3aDraw all MIPS instruction formats.
3bbigEncode: lw $s0,32($s1); add $s0,$s0,$s2; sw $s0,36($s1). (lw=100011, sw=101011)
3cAddress of the last byte and last word in MIPS-32.