MICROPROCESSOR AND MICROCONTROLLER

ARM PROCESSOR

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the two instructions sets the condition flag upon execution?i) ADDS R0, R1, R2ii) ADD R0, R1, R2
A
i
B
ii
C
Both i and ii
D
Insufficient data
Explanation: 

Detailed explanation-1: -Explanation: The MLA instruction is used perform addition and multiplication together.

Detailed explanation-2: -Z, bit [30] Zero condition flag. Set to 1 if the result of the last flag-setting instruction was zero, and to 0 otherwise. A result of zero often indicates an equal result from a comparison.

Detailed explanation-3: -Instruction execution can be divided into small steps in different ways. One can divide it into two stages: instruction fetch and instruction execution (as e.g. in the Intel 8086).

Detailed explanation-4: -Explanation: First, the instructions are fetched and decoded and then they’re executed and stored.

There is 1 question to complete.