35.3.9.11. INTEGER BITS AND BITSTRINGS ON MCS51





JNB	bit,rel		0011 0000  	Branch if bit is clear
JB	bit,rel		0010 0000     Branch if bit is set
JBC	bit,rel		0001 0000     Branch if bit is set
						and clear bit

CLR	bit		1100 0010 		Clear Bit
SETB	bit		1101 0010 		Set Bit
CPL	bit		1011 0010 		Complement Bit

MOV	C,bit		1010 0010 		Move Bit to Carry	
MOV	bit,C		1001 0010 		Move Carry to Bit









Index Prev Next