COMPUTER SCIENCE AND ENGINEERING
COMPUTER ARCHITECTURE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Adds the value of 45 to the address of R1 and stores 45 in that address
|
|
Adds 45 to the value of R1 and stores it in R1
|
|
Finds the memory location 45 and adds that content to that of R1
|
|
None of the mentioned
|
Detailed explanation-1: -In 8085 Instruction set, ADD R is a mnemonic that stands for “Add contents of R to Accumulator”. As addition is a binary operation, so it requires two operands to be operated on. So input operands will reside on Accumulator and R registers and after addition the result will be stored back on to Accumulator.
Detailed explanation-2: -The ADD instruction adds a byte value to the accumulator and stores the results back in the accumulator. Several of the flag registers are affected.
Detailed explanation-3: -Three Address Instructions The operation implemented on operands is ‘ADD.
Detailed explanation-4: -In 8085 Instruction set, ADI is a mnemonic, which stands for “ADd Immediate to Accumulator” and here “d8” stands for any 8-bit or 1-Byte of data. This instruction is used to add 8-bit immediate data to the Accumulator. The result of addition will be stored in the Accumulator.
Detailed explanation-5: -ADD:-The content of operand are added to the content of the accumulator and the result is stored in Accumulator. Eg-ADD B (it adds the content of accumulator to the content of the register B)