Question 1 |
The immediate addressing mode can be used for
1. Loading internal registers with initial values
2. Perform arithmetic or logical operation on data contained in instructions
Which of the following is true?
1. Loading internal registers with initial values
2. Perform arithmetic or logical operation on data contained in instructions
Which of the following is true?
Only 1 | |
Only 2 | |
Both 1 and 2 | |
Immediate mode refers to data in cache |
Question 1 Explanation:
Question 2 |
Statements associated with registers of a CPU are given. Identify the false statement.
The program counter holds the memory address of the instruction in execution | |
Only opcode is transferred to the control unit | |
An instruction in the instruction register consists of the opcode and the operand | |
The value of the program counter is incremented by 1 once its value has been read to the memory address register |
Question 2 Explanation:
Question 3 |
Which of the following affects the processing power assuming they do not influence each other
1. Data bus capability
2. Address scheme
3. Clock speed
1. Data bus capability
2. Address scheme
3. Clock speed
3 only | |
1 and 3 only | |
2 and 3 only | |
1,2 and 3 |
Question 3 Explanation:
Question 4 |
Convert the pre-fix expression to in-fix -^{*}+A B C^{*}-D E+F G
(A-B)^{*} C+\left(D^{*} E\right)-(F+G) | |
(A+B)^{*} C-(D-E)^{*}(F-G) | |
(A+B-C)^{*}(D-E)^{*}(F+G) | |
(((A+B)*C)-((D-E)*(F+G))) |
Question 4 Explanation:
Originally all Options are wrong. We have modified one option.
Click here for detail solution by gateoverflow
Click here for detail solution by gateoverflow
Question 5 |
An array of 2 two byte integers is stored in big endian machine in byte addresses as shown below. What will be its storage pattern in little endian machine ?
\begin{array}{c|c}\text{Address}& \text{Data}\\\hline0 \times 104&78\\0 \times 103&56\\0 \times 102&34\\0 \times 101&12\end{array}
\begin{array}{c|c}\text{Address}& \text{Data}\\\hline0 \times 104&78\\0 \times 103&56\\0 \times 102&34\\0 \times 101&12\end{array}
\begin{array}{c|c}\text{Address}& \text{Data}\\\hline0 \times 104&12\\0 \times 103&56\\0 \times 102&34\\0 \times 101&78\end{array} | |
\begin{array}{c|c}\text{Address}& \text{Data}\\\hline0 \times 104&12\\0 \times 103&34\\0 \times 102&56\\0 \times 101&78\end{array} \\ | |
\begin{array}{c|c}\text{Address}& \text{Data}\\\hline0 \times 104&56\\0 \times 103&78\\0 \times 102&12\\0 \times 101&34\end{array} \\ | |
\begin{array}{c|c}\text{Address}& \text{Data}\\\hline0 \times 104&56\\0 \times 103&12\\0 \times 102&78\\0 \times 101&34\end{array} |
Question 5 Explanation:
There are 5 questions to complete.
this is very helpful.