Which of the following statements about 3 address instructions, is correct?

Which of the following statements about 3 address instructions, is correct? Correct Answer Two space for address of operand and a space for address of operation code

The correct answer is option 1.

Concept:

Three-address instruction:

Three-address instruction is a machine instruction format. It has three address fields and one opcode. There is one address field for the destination and two address fields for the source. It has two spaces for the address of operand and space for the address of operation code.

This is a common occurrence in commercial computers. In this case, the instruction can specify two addresses. Unlike earlier, when the result of a single address instruction was stored in an accumulator, the result here can be stored in a different location rather than just an accumulator, but it requires a greater number of bits to represent the address.

+ M
ADD R2, Z, W      R2 <- M + M
MUL X, R1, R2     M <- R1 x R2 

Features:

  • Three-address instruction has four fields.
  • It has one field for opcode and three fields for address.
  • In 3-address format, the destination address can not contain operand.
  • There are distinct address fields for destination and source.

Hence the correct answer is two spaces for the address of operand and space for the address of operation code.

Related Questions

You have an IP address of 172.16.13.5 with a 255.255.255.128 subnet mask. What is your class of address, subnet address, and broadcast address?