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
Syntax: MVI Rd,8-bit Where Rd can be any of the general purpose registers (A,B,C,D,E,H andL) Byte: 2byte Addressing Mode: Immediate Addressing Example: MVI B,22H After execution of MVI B,22H [B] = 22H
One Byte Instructions needs only one Byte of memory for execution. Here, in these instructions, general purpose registers are used as operands i.e. Source Register Rs and Destination Register Rd. Example: MOV , LDAX , STAX , XCHG
Comments
Post a Comment