520.422, Homework-7, R. Jenkins
1. An IJAVA program is known to have a dynamic IJVM instruction mix of 45% stack-to-stack operations, 15% branches of various type, 18% operations with local variables or constants, and 22% method (i.e. subroutine) calls. From this information, make a reasonable estimate for this program of the average CPI and the average MIPS rate for the MIC-1 running at a basic CPU clock frequency of 400 Mhz.
2. Tanenbaum assumes both memory ports on the MIC-1 can be active at the same time. If only one memory port is able to be active on any single clock cycle, how much would the CPI above be affected?
3. Assuming Main1 is at Location hex 100 and the micro-instruction groups for each ISA instruction are stored sequentially, give the binary equivalent of the listed MIC-1 operations for the IJVM instructions: ISUB, and WIDE-ILOAD. To make life easier, you may just give the hex value for the "address bits" and the "B Bus bits", and then list the remaining bits that are NOT zero.