INTRODUCTION TO MICROPEOCESSOR
MICRO PROCESSOR AND MICRO CONTROLLER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
ADD B is
|
Arithmetic instructions
|
|
Logical instruction
|
|
Data transfer instructions
|
|
None of above
|
Explanation:
Detailed explanation-1: -The ADD instruction adds the value of Operand2 or imm12 to the value in Rn . The ADC instruction adds the values in Rn and Operand2, together with the carry flag. The SUB instruction subtracts the value of Operand2 or imm12 from the value in Rn .
Detailed explanation-2: -Arithmetic instructions of 8085 perform arithmetic operations such as addition, subtraction, increment, and decrement. Any 8-bit number or the contents of a register or the contents of a memory location can be added to the contents of the accumulator and the sum is stored in the accumulator.
There is 1 question to complete.