CMC

 

Syntax: CMC 
 
Byte: 1byte
 
Addressing Mode: Implied Addressing
 
Flag: Carry

Working: 
1. Microprocessor will allocate one byte for opcode for execution.
2. During the execution of the instruction microprocessor will complement or  perform 1's complement on content of Carry flag.

Example: CMC 
where [Cy] = set = 1
After execution of CMC
 [Cy] = 0 
 
                        

Comments