GATEverse
← GATE CSE 2001

Q2.13

MCQ2 marks, −0.5

Consider the following data path of a simple non-pipelined CPU. The registers A,BA, B, A1,A2,MDR,A_{1},A_{2}, \textsf{MDR}, the bus\textsf{bus} and the ALU\textsf{ALU} are 88-bitbit wide. SP\textsf{SP} and MAR\textsf{MAR} are 1616-bitbit registers. The MUX\textsf{MUX} is of size 8×(2:1)8 \times (2:1) and the DEMUX\textsf{DEMUX} is of size 8×(1:2)8 \times (1:2). Each memory operation takes 22 CPU\textsf{CPU} clock cycles and uses MAR\textsf{MAR} (Memory Address Register) and MDR\textsf{MDR} (Memory Date Register). SP\textsf{SP} can be decremented locally.

Figure 1

The CPU\textsf{CPU} instruction "push r" where, r=r = AA or BB has the specification M[SP]←rM[SP] ← r SP←SP−1SP ← SP - 1 How many CPU\textsf{CPU} clock cycles are required to execute the "push r" instruction?

Sign in to save attempts.

Loading…