Machine Instructions and Addressing Modes · Computer Organization · GATE CSE
Start PracticeMarks 1
GATE CSE 2020
Consider the following statements.
I. Daisy chaining is used to assign priorities in attending interrupts.
II. When a device raises a vectored interru...
GATE CSE 2016 Set 2
A processor has $$40$$ distinct instructions and $$24$$ general purpose registers. A $$32$$-bit instruction word has an opcode, two register operands ...
GATE CSE 2015 Set 1
For computers based on three-address instruction formats, each address field can be used to specify which of the following:
(S1) A memory operand (S2)...
GATE CSE 2006
A $$CPU$$ has $$24$$-bit instructions. A program starts at address $$300$$ (in decimal). Which one of the following is a legal program counter (all va...
GATE CSE 2004
Which of the following addressing modes are suitable for program relocation at run time?
$$1.$$ Absolute addressing
$$2.$$ Based addressing
$$3.$$ Re...
GATE CSE 2002
Which of the following is not a form of memory?
GATE CSE 2002
In absolute addressing mode
GATE CSE 2000
The most appropriate matching for the following pairs
$$X:$$ Indirect addressing
$$Y:$$ Immediate addressing
$$Z:$$ Auto decrement addressing is
$$1...
Marks 2
GATE CSE 2024 Set 2
A processor with 16 general purpose registers uses a 32-bit instruction format. The instruction format consists of an opcode field, an addressing mode...
GATE CSE 2024 Set 2
A processor uses a 32-bit instruction format and supports byte-addressable memory access. The ISA of the processor has 150 distinct instructions. The ...
GATE CSE 2023
Consider the given C-code and its corresponding assembly code, with a few operands U1-U4 being unknown. Some useful information as well as the semanti...
GATE CSE 2021 Set 2
If the numerical value of a 2-byte unsigned integer on a little endian computer is 255 more than that on a big endian computer, which of the following...
GATE CSE 2020
A processor has 64 registers and uses 16-bit instruction format. It has two types of instructions: I-type and R-type. Each I-type instruction contains...
GATE CSE 2018
A processor has $$16$$ integer registers $$\left( {R0,\,\,R1,\,\,..\,\,,\,\,R15} \right)$$) and $$64$$ floating point registers $$(F0, F1,… , F63).$$ ...
GATE CSE 2016 Set 2
Consider a processor with $$64$$ registers and an instruction set of size twelve. Each instruction has five distinct fields, namely, opcode, two sourc...
GATE CSE 2015 Set 3
Consider the following code sequence having five instructions $${I_1}$$ to $${I_5}$$. Each of these instructions has the following format.
$$\,\,\,\,\...
GATE CSE 2015 Set 2
Consider a processor with byte-addressable memory. Assume that all registers, including Program Counter $$(PC)$$ and Program Status Word $$(PSW),$$ ar...
GATE CSE 2014 Set 1
A machine has a $$32$$-bit architecture, with $$1$$-word long instructions. It has $$64$$ registers, each of which is $$32$$ bits long. It needs to su...
GATE CSE 2014 Set 1
Consider two processors ܲ$${P_1}$$ and $${P_2}$$ executing the same instruction set. Assume that under identical conditions, for the same input, a pro...
GATE CSE 2013
Consider a hypothetical processor with an instruction of type $$LW$$ $$R1, 20(R2),$$ which during execution reads a $$32$$-bit word from memory and st...
GATE CSE 2011
On a non-pipelined sequential processor, a program segment, which is a part of the interrupt service routine, is given to transfer $$500$$ bytes from ...
GATE CSE 2008
Which of the following must be true for the $$RFE$$ (Return From Exception) instruction on a general purpose processor?
$$1.$$ It must be a trap instr...
GATE CSE 2008
Which of the following is/are true of the auto increment addressing mode?
$$1.$$ It is useful in creating self relocating code
$$2.$$ If it is include...
GATE CSE 2008
For all delayed conditional branch instructions, irrespective of whether the condition evaluate true or false,
GATE CSE 2006
Consider the following program segment. Here R1, R2 and R3 are the general purpose registers.
Assume that the content of memory location $$3000$$ is...
GATE CSE 2006
Consider the following program segment. Here R1, R2 and R3 are the general purpose registers.
Assume that the content of memory location $$3000$$ is...
GATE CSE 2006
Consider the following program segment. Here R1, R2 and R3 are the general purpose registers.
Assume that the content of memory location $$3000$$ is...
GATE CSE 2005
Consider a three word machine instruction $$ADD$$ $$A$$ $$\left[ {{R_0}} \right],\,@\,B$$
The first operand (destination) ''$$A$$ $$\left[ {{R_0}} \ri...
GATE CSE 2004
Consider the following program segment for a hypothetical $$CPU$$ having three user registers $$R1,R2, $$ and $$R3.$$
Consider that the memory is b...
GATE CSE 2004
Consider the following program segment for a hypothetical $$CPU$$ having three user registers $$R1,R2, $$ and $$R3.$$
Let the clock cycles require...
GATE CSE 2001
Which is the most appropriate match for the items in the first column with the items in the second column?
$$X.$$ Indirect Addressing
$$Y.$$ Indexed ...