Recent questions tagged machine-instruction

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...
1 1 vote
1 1 answer
311
311 views
Consider a 16 bit hypothetical processor which support 1 word long instruction. Processor has 30 registers and 4KB of memory size. If there exists '11' 2 address register...
2 2 votes
1 1 answer
219
219 views
2.A byte addressable computer has a memory capacity of 2^m KB( kbytes ) and can perform 2^n operations. What will be the size of an instruction involving 3 operands and o...
0 0 votes
1 1 answer
415
415 views
Consider two machines M1 and M2. For both machines, all instructions except for mispredicted branches take one cycle. Mispredicted branches take one cycle plus an additio...
1 1 vote
1 1 answer
243
243 views
Which of the following are not data manipulation instructions?CallLoudAndIncrementShiftChoose the correct answer from the options given below:$\text{III $\&$ V only}$$\te...
1 1 vote
2 2 answers
399
399 views
Which of the following do not represent memory reference instruction.$\begin{array}{|c|c|c|} \hline 1 & \text{opcode} & \\ \hline \end{array}$ mode $=1$, opcode $=010$$\b...
13 13 votes
3 3 answers
7.6k
7.6k views
A processor has $64$ general-purpose registers and $50$ distinct instruction types. An instruction is encoded in $32$-bits. What is the maximum number of bits that can be...
3 3 votes
2 2 answers
589
589 views
Consider a hypothetical CPU that supports the following instruction set:- $\text{ADD } R_i, R_j$ - $\text{SUB } R_i, R_j$ - $\text{MOV } R_i, R_j$ - $\text{AND } R_i, ...
0 0 votes
1 1 answer
404
404 views
How I2-I4 is counted?
1 1 vote
1 1 answer
913
913 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-...
4 4 votes
2 2 answers
808
808 views
A CPU has instructions 12 bits long. The size of an address field is 4 bits. It is possible to have: 14 commands of two addresses 29 commands of an address 48 zero-addres...
1 1 vote
1 1 answer
556
556 views
Machine Level Language is a/anAssembly LanguageLow Level languageHigh level LanguageTranslating Language 
1 1 vote
0 0 answers
359
359 views
Match $\text{List I}$ with $\text{List II}$$\text{List I}$$\text{List II}$$\text{A}$. Direct Addressing$\text{I}$. $\text{MVI A, FFH}$$\text{B}$. Indirect Addressing$\tex...
34 34 votes
6 6 answers
19.1k
19.1k views
Consider the given $\text{C}$-code and its corresponding assembly code, with a few operands $\text{U1-U4}$ being unknown. Some useful information as well as the semantics...
1 1 vote
1 1 answer
1.7k
1.7k views
Consider a 4 way set associative cache of size 16 KB organized into 4 words block. Cache memory is designed with the write back protocol having the miss ratio of read and...
2 2 votes
1 1 answer
1.0k
1.0k views
Consider a system that supports 2-address, 1-address, and 0-address instructions. The system has 'i' bits instructions and 'a' bits addresses. If there are 'x' 2-address ...
2 2 votes
3 3 answers
1.7k
1.7k views
MSQWhich among the following statements is/are TRUE for a pipelined RISC computer.PC is usually incremented during Instruction Cycle (IF,ID)PC may be incremented during ...
0 0 votes
1 1 answer
622
622 views
During the instruction fetch does the program counter increment in the same clock cycle or it take next clock cycle
0 0 votes
0 0 answers
1.4k
1.4k views
ADD R1,R2,R3SUB R2,R1,R7BNEQZ R5,L1MUL R8,R9,R3DIV R6,R8,R7L1:-LOAD R4, 2(R6)SUB R10,R4,R11 for the above sequence of instructions draw time and space diagram to find out...
0 0 votes
0 0 answers
564
564 views
Please list out the best free available video playlist for Machine Instructions from CO & A as an answer here (only one playlist per answer). We'll then select the best p...