Wednesday 23 March 2011

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.

1 comment:

  1. if contents of accumulator are all one's then result would be zero so Z flag should be affected .....but here it is written that no flags is affected...

    ReplyDelete