Recent questions tagged machine-instruction

1 1 vote
0 0 answers
506
506 views
Where are 4 Address Instructions are used and how?
3 3 votes
1 answers 1 answer
3.6k
3.6k views
The instruction format is CMP R1, R2.How will the carry and zero flags we be modified after above instruction is executed? Case 1:R1< R2 Carry Flag = 1 Zero Flag = 0R1= R...
32 32 votes
5 answers 5 answers
19.0k
19.0k views
Consider the following instruction sequence where registers $\text{R1}, \text{R2}$ and $\text{R3}$ are general purpose and $\text{MEMORY[X]}$ denotes the content at the m...
1 1 vote
2 2 answers
2.0k
2.0k views
Arrange the following types of machine in descending order of complexity.SISDMIMDSIMDChoose the correct answer from the options given below:$\text{i,ii,iii}$$\text{iii,ii...
0 0 votes
2 2 answers
2.7k
2.7k views
An instruction used to set the carry flag in a computer can be classified asdata transferprocess controllogicalprogram control
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...
1 1 vote
2 2 answers
1.4k
1.4k views
MIMD stands forMultiple Instruction Multiple DataMultiple Instruction Memory DataMemory Instruction Multiple dataMultiple Information Memory data
0 0 votes
2 2 answers
5.0k
5.0k views
Consider the following assembly language instructions:mov al, 15 mov ah, 15 xor al, al mov cl, 3 shr ax, cl add al, 90H add ah, 0What is the value in $ax$ register after ...
0 0 votes
3 3 answers
5.7k
5.7k views
The contents of Register $(BL)$ and Register $(AL)$ of $8085$ microprocessor are $49H$ and $3AH$ respectively. The contents of $AL$, the status of carry flag $(CF)$ and s...
66 66 votes
9 answers 9 answers
46.1k
46.1k views
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 an opcode, a re...
6 6 votes
6 6 answers
10.2k
10.2k views
A computer which issues instructions in order, has only $2$ registers and $3$ opcodes $\text{ADD, SUB}$ and $\text{MOV}$. Consider $2$ different implementations of the fo...
0 0 votes
0 0 answers
574
574 views
Show how counting semaphores (i.e., semaphores that can hold an arbitrary value) can be implemented using only binary semaphores and ordinary machine instructions.
1 1 vote
4 4 answers
2.6k
2.6k views
A computer has a pipeline with four stages. Each stage takes the same time to do its work, namely, $1$ nsec. How many instructions per second can this machine execute?
2 2 votes
0 0 answers
2.4k
2.4k views
Q.A stack based CPU executes the instruction.Memory location 500 contains 0x88 and memory location 700 contains 0x37.The stack pointer is at 0x003F.The instructions are a...
4 4 votes
3 3 answers
2.2k
2.2k views
Consider a hypothetical CPU which supports 2 address, 1 address and 0 address instructions. A 16 bit instruction is placed in 128 word memory. If there exists 2 two addre...
1 1 vote
1 1 answer
1.8k
1.8k views
1 1 vote
2 2 answers
2.8k
2.8k views
0 0 votes
2 2 answers
1.1k
1.1k views
How are 2 memory access required here? Only R3 contains a memory address which will be accessed for the operand.
2 2 votes
1 1 answer
2.2k
2.2k views
is the CPI of RISC processor always 1?
0 0 votes
0 0 answers
813
813 views
3 3 votes
2 2 answers
2.3k
2.3k views
The arithmetic expression $: (a + b) \ast c - d / e \ast \ast f$ is to be evaluated on a two-address machine, where each operands, the number of registers required to eva...
1 1 vote
1 answers 1 answer
3.6k
3.6k views
What should I assume as the size of HALT instruction ? HALT instruction comes under which type of instruction
0 0 votes
1 1 answer
1.2k
1.2k views
For Given machine instructionsLW R4 #400L1:LW R1, 0,(R4)LW R2 400(R4)ADDI R3, R1, R2SW R3, 0(R4)SUB R4, R4, #4BNZ R4, L1on a 5 stage pipeline processor, 1 clock cycle per...
0 0 votes
1 1 answer
2.3k
2.3k views
Given 2 machine instructions,LW R4 #400LW R1, 0,(R4)IN second instruction what will be loaded in R1,is it the operand at memory location 400?or some random memory locatio...