35.3.1.11. INTEGER ARITHMETICAL ON MCS51





ADD	A,Rn		0010 1nnn		Add
ADD	A,direct	0010 0101 
ADD	A,@Ri		0010 011i
ADD	A,#data		0010 0100 
ADDC	A,Rn		0011 1nnn		Add with Carry
ADDC	A,direct	0011 0101 
ADDC	A,@Ri		0011 011i
ADDC	A,#data		0011 0100 
SUBB	A,Ri		1001 1iii		Subtract with Borrow
SUBB	A,direct	1001 0101 	
SUBB	A,@Ri		1001 011i
SUBB	A,#data		1001 0100 

INC	A		0000 0100		Increment
INC	Ri		0000 1iii	
INC	direct		0000 0101 
INC	@Ri		0000 011i
DEC	A		0001 0100		Decrement
DEC	Rn		0001 1iii
DEC	direct		0001 0101 
DEC	@Ri		0001 011i

INC	DPTR		1010 0011	DPTR++

MUL	AB		1010 0100	A<7:0>,B<15:8> <- A * B
DIV	AB		1000 0100	A <- A /B






Index Prev Next