Computer Science, asked by DarshanDM8153, 1 year ago

Microprocessor- difference between sub and cmp mnemonics in 8086

Answers

Answered by amritanshu6
0
A microprocessor is a computer processor that incorporates the functions of a central processing unit on a single integrated circuit, or at most a few integrated circuits.
Answered by StaceeLichtenstein
6

Difference between sub and cmp mnemonics in 8086 is given below

Explanation:

  • The cmp is used for comparing the numeric value with the source value to the destination value in the Microprocessor 8086 Where as sub is used for subtract the source value to the destination numeric value in the Microprocessor 8086.
  • In the cmp the comparison is done in the subtraction form also we set the OF, SF, ZF and CF flag according the value whereas in the sub the F flag is used for the borrow in the subtraction .

Learn More :

  • brainly.in/question/1757321
Similar questions