CMA
Syntax: CMA
Byte: 1byteAddressing Mode: Implied Addressing
Flag: None
Working:
1. Microprocessor will allocate one byte for opcode.
2. During the execution of the instruction microprocessor will perform 1's complement on content of Accumulator.
Example: CMA
where [A] = 22H
After execution of CMA [A] = DD H
A= 22 H = 0010 0010
1's Complement of A = 1101 1101 = DD H
Comments
Post a Comment