Recent questions tagged instruction-format

13 13 votes
7 7 answers
2.3k
2.3k views
Consider a processor that has $16$ general purpose registers and it uses $2$-byte instruction format for all its instructions. Variable-sized opcodes are permitted. There...
10 10 votes
5 5 answers
1.7k
1.7k views
Consider a processor $\text{P}$ whose instruction set architecture is the load-store architecture. The instruction format is such that the first operand of any instructio...
1 1 vote
0 0 answers
294
294 views
 Consider a processor with 30 general purpose registers and an instruction set size of 28. Each instruction has 4 fields as shown below Instruction CodeOperation | Source...
0 0 votes
1 1 answer
301
301 views
In a computer instruction format, the instruction length is 11 bitsand the size of an address field is 4 bits. The computer support:2-address instructions1-address instru...
0 0 votes
1 1 answer
615
615 views
Consider a system which supports 2-address and 1-address instructions both. System has 20-bits instructions and 7-bits addresses then which of the following is/are the nu...
34 34 votes
3 answers 3 answers
14.9k
14.9k views
A processor with $16$ general purpose registers uses a $32$-bit instruction format. The instruction format consists of an opcode field, an addressing mode field, two regi...
32 32 votes
6 answers 6 answers
18.1k
18.1k views
A processor uses a $32$-bit instruction format and supports byte-addressable memory access. The $\text{ISA}$ of the processor has $150$ distinct instructions. The instruc...
1 1 vote
1 1 answer
912
912 views
I have seen lots of questions like this :A load-store architecture in which memory operation applied only on LOAD and STORE instructions and other all operations are REG-...
1 1 vote
2 answers 2 answers
745
745 views
A processor has 16 registers and uses 16 -bit instruction format. It has two types of instructions:Memory Type:\begin{tabular}{|l|l|l|}\hline Opcode & Register & 6 - bit ...
1 1 vote
2 2 answers
1.3k
1.3k views
A system support zero address, one address & two address instructions. Let 16-bit instruction is stored in 128-word memory. Identify the correct among the following.(A) 1...
2 2 votes
1 1 answer
719
719 views
consider a system which supports 2-address, 1-address and 0-address instruction. the system has 'i' bits addresses. if there are 'x' 2-addresses instructions and 'y' 1-ad...
1 1 vote
1 1 answer
981
981 views
Consider a hypothetical processor which supports 2-address instructions and 1-address instructions both. The system supports 32-bits fixed length instructions. The system...
0 0 votes
0 0 answers
943
943 views
Consider a system which supports 2-address and 1-address instructions both. System has 20-bits instructions and 7-bits addresses then which of the following is/are the nu...
0 0 votes
1 1 answer
945
945 views
Consider a CPU which supports fixed length instructions. For this CPU a compiler generates 175 instructions for a user program. All the instructions are stored in the mem...
1 1 vote
1 1 answer
1.2k
1.2k views
Assume an instruction set that uses a fixed 31-bit instruction length. Operand specifies are 4 bits in length. If there are m-three operand instructions in total, then ho...
2 2 votes
0 0 answers
520
520 views
Disadvantages of using 2-address instruction in place of 1-address instructions is/are?More memory required for programLarger sized instructionsMore number of instruction...
1 1 vote
1 answers 1 answer
2.1k
2.1k views
Consider a system which supports only 1-address type instructions. The size of memory the system has is $2^m$ KB. The system supports ' i ' distinct instructions. The len...
1 1 vote
0 0 answers
946
946 views
Assume that the control memory is 32 bit wide. The micro-instruction format is divided into 3 fields. A micro operation field of 14 bits specifies the micro-operations to...
1 1 vote
2 answers 2 answers
1.3k
1.3k views
Consider a hypothetical CPU which supports 16-bit instruction, 64 registers and 1 KB memory space. If there exist 12 2-address instructions which use register references ...
0 0 votes
1 answers 1 answer
1.6k
1.6k views
Consider a system with 16 Registers(Ro,R1,...R8).An instruction SUB Ro,R1 , which is two bytes long,what is the space assigned to the opcode field (in bits) ?
3 3 votes
1 1 answer
2.2k
2.2k views
Match list $I$ with List $II$ and select the correct answer using the codes given below the lists :$${\begin{array}{|c|c|c|}\hline&\textbf{List I} & & \textbf{List II}\\\...
1 1 vote
2 answers 2 answers
2.9k
2.9k views
In a $10$-bit computer instruction format, the size of address field is $3$-bits. The computer uses expanding OP code technique and has $4$ two-address instructions and $...
3 3 votes
1 1 answer
1.4k
1.4k views
Match list $I$ with List $II$ and select the correct answer using the codes given below the lists.$${\begin{array}{|c|c|c|}\hline&\textbf{List I} & & \textbf{List II}\\\h...