Spring 2026 — Fully Solved
Answer all three. Reveal after attempting.
Q1 (CO1) — IAS
1aShow the IAS memory formats (data and instruction).
1bIf IAS memory is increased by 2ⁿ times, what is the new address size?
1cbigSubtract (M(08A)+M(08B)) from (M(08C)+M(08D)); write to M(08E). Assembly + machine code.
Q2 (CO3) — Amdahl & BIPS
2abigFP made 5× faster. Benchmark = 40 s, FP = 15 s. Overall speedup?
2bExpress BIPS (billion instructions per second) in terms of clock rate & CPI (and clock cycle time & CPI).
2cbigA: IC=10B, 4 GHz, CPI 1.0. B: IC=8B, 4 GHz, CPI 1.2. Higher BIPS? Faster?
Q3 (CO2) — MIPS
3aDraw all MIPS addressing modes.
3bbigConvert to MIPS (temp = $t0): temp=p[k+1]; p[k+1]=p[k-1]; p[k-1]=temp; p[k]=p[k-1]+p[k+1]. ($a0=p base, $a1=k)
3cMax value of offset in lw $s1,offset($s2), and the machine instruction for it.