CMA instruction in 8085

Explain the execution of the instruction CMA in 8085.

CMA - Complement Accumulator

The Complement Accumulator (CMA) instruction provides a 1’s complement of the 8 bits in the A register, i.e the 1’s are set to 0’s and the 0’s are set to 1’s.

2 comments:

Powered by Blogger.