GATE / CS ARCHIVE

GATE CSE 2015 SET 1 / QUESTION 22

GATE CSE 2015 Set 1 Q22

Computer Organization & Architecture · Instructions & Addressing Modes · Full GATE CSE 2015 Set 1 paper

GATE 2015 Set 1, Q22 1 mark · MCQ
Report issue

Instructions & Addressing Modes

Question 22, GATE 2015: In a three-address instruction format, what may an address field specify? S1 memory operand; S2 processor register; S3 implied accumulator register. A either S1 or S2; B either S2 or S3; C only S2 and S3; D all S1,S2,S3.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

An instruction such as ADD destination,source1,source2 names its explicit operands. Depending on the instruction-set architecture, these fields can select memory locations or registers. An implied accumulator needs no address field because its identity is determined by the opcode or architecture. The issue is explicit versus implicit designation, not whether an accumulator physically exists.

Solution: Three-address instruction operands can refer to registers or memory as defined by the architecture. An accumulator is implicit in an accumulator architecture, not required as one of these explicit operand addresses. Thus A.

Original paper, page 9 · Answer key