Computer Science, asked by spriyanka99, 10 months ago

the contents of the destination operand do NOT change when the CMP instruction is executed true or false?

Answers

Answered by lovingheart
0

Answer:

The given statement is true.

Explanation:

CMP stands for Compare. CMP instructions are used with the conditional jump instruction. CMP is basically involved in decision making. It modify neither source nor destination or in other words it does not modify either source or destination.

It only checks whether the condition is true or not and transfers the control of the program accordingly. It is used in conditional and unconditional branching statements.  

Eg. For loop, while loop, do while, etc wherever a compare is required.

Answered by smartbrainz
0

The contents of the destination operand do NOT change when the CMP instruction is executed is true statement

Explanation:

  • 'Compare with the accumulator' (CMP) is a valuable instruction commonly used in 8085 microprocessors.
  • The 'microprocessor compares the data byte' (or register/memory contents) to the contents of the accumulator by subtracting the 'data byte from (A)' and shows whether the data byte is less than, greater than or equal to the accumulator content by changing the flags.
  • After the comparison, the results will not be stored anywhere, but 'the flags will be affected depending on the result of the subtraction'.

Similar questions