Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



The instructions

ADD R₁, A, B
ADD R₂, C, D
MUL X, R₁, R₂

evaluate the expression $X = (A + B)(C + D)$ in which of the following?







Solution

A 3-address instruction has the form:


Result = Operand1 op Operand2


Example:


ADD R₁, A, B → R₁ = A + B

ADD R₂, C, D → R₂ = C + D

MUL X, R₁, R₂ → X = R₁ × R₂


Each instruction uses three addresses (two operands and one result).



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...