adplus-dvertising
frame-decoration

Question

Given instructions lw $t0,1200($t1); add $t0,$s2,$t0; sw $t0,1200($t1), are the compiled instruction of expression

a.

A[300] = h + A[100]

b.

A[300] = h + A[200]

c.

A[300] = h + A[300]

d.

A[200] = h + A[300]

Answer: (c).A[300] = h + A[300]

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Given instructions lw $t0,1200($t1); add $t0,$s2,$t0; sw $t0,1200($t1), are the compiled instruction of expression

Similar Questions

Discover Related MCQs

Q. Code for writing byte from the destination can be written as

Q. The instruction, move $t0, $t1 describes

Q. Code for reading byte from the source can be written as

Q. '|' symbol that is used in the logical operation represents the

Q. Doubling the amount of transistors in every 18 month, is known as

Q. Operation calculating NOT of the OR can be represented as

Q. Jumping back to calling routine in MIPS is represented as

Q. Logical Instructions

Q. The LINK instruction saved in the $ra register, have PC increment of

Q. For pointing to the first word of the frame of a procedure, the pointer used is

Q. The initialization in the For Loop for (i = 0; i < n; i += 1) can be written in assembly language as

Q. Register + branch address gives you the

Q. The sum of b and c placing in the variable 'a' as

Q. The gcc level of the procedure integration, can be calculated as

Q. In the given expression add t0,g,h; the t0 is a

Q. The given expression addi $sp,$sp,

Q. For comparing source and destination; register-memory format command used is

Q. To set array[i] to 0, we must first get its address, start by multiplying i with

Q. The MIPS instruction addi $s1,$s2,100. can be simplified into

Q. MIPS instructions are consisted of