Answered step by step
Verified Expert Solution
Question
1 Approved Answer
. In this problem we compare CISC and RISC coding. The following table, write the minimum - length CISC and RISC codes for computing three
In this problem we compare CISC and RISC coding. The following table, write the
minimumlength CISC and RISC codes for computing three arithmetic operations in
a sequence: C A B E D C and F C E All input operands A B C and D
are initially fetched from the data cache. The intermediate results C and E need not
be stored in the memory. But the final result F must be stored in the memory. Only
instruction types: load, store, add, subtract, and multiply are allowed in writing
the minimum code sequences. At most one memory reference is allowed in any
instruction.
CISC code RISC code
Register memory architectureLoad Store
b Assume for the CISC processor, it takes cycles to add, subtract, load, or store;
and cycles to multiply. On the RISC processor, it takes only cycle to add, subtract,
load, or store; and cycles to multiply. With a GHz clock to drive both processors,
calculate the effective CPI and the expected MIPS rates of the two processors to
execute the above two code sequences.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started