Syntax: INR R Where R can be any of the general purpose registers (A,B,C,D,E,H andL) Byte: 1byte Addressing Mode: Register Addressing Working: 1. 2. 3. 4. Flag Example: INR B Where [B]= 10H After execution of INR B [B]= 11H
Syntax: IN 8-bit Where 8-bit is an output port address. Byte: 2byte Addressing Mode: Direct Addressing Working: 1. 2. Example: IN 35H Where [35H]= 20 H After execution of above [A] = 20H
Comments
Post a Comment