Computer Science, asked by goutham5059, 6 months ago

In One Address Instruction format, the second implicit operand is always the......... register​

Answers

Answered by atharvc587
2

Answer:

The instruction format in this type of computer uses one address field. ... division there is a need for a second register. ... Instructions are always stored in successive memory locations.

Answered by Sahil3459
0

Answer:

In One Address Instruction format, the second implicit operand is always the implied accumulator (AC) register.

Explanation:

All data modification in one-address instructions takes place in an inferred accumulator (AC) register. A second register is required for multiplication and division. We will disregard the second in this instance and assume that the AC already holds the outcome of the operations. The following is the software to test X = (A + B) × (C + D):

LOAD A   AC ← M [A]

ADD B   AC ← A [C] + M [B]

STORE T   M [T] ← AC

LOAD C   AC ← M [C]

ADD D   AC ← AC + M [D]

MUL T   AC ← AC ∗ M [T]

STORE X   M [X] ← AC

All operations are carried out between an operand from memory and the AC register. T is the location's temporary memory address needed to store the interim result. For implicit reference, a processor register known as an accumulator is used (AC). One of the operands and the outcome are both stored in the accumulator.

Thus, in one address instruction format, a second address must be implicit for a binary operation.

Similar questions