74 STC12C5Axx
Technical Summary
ANL C, /bit
AND COMPLEMENT OF DIRECT BIT TO CARRY
2
3
ORL C, bit
OR DIRECT BIT TO CARRY
2
3
ORL C, /bit
OR COMPLEMENT OF DIRECT BIT TO CARRY
2
3
MOV C, bit
MOVE DIRECT BIT TO CARRY
2
3
MOV bit, C
MOVE CARRY TO DIRECT BIT
2
4
BOOLEAN VARIABLE BRANCH
MNEMONIC
DESCRIPTION
BYT CYC
JC rel
JUMP IF CARRY IS SET
2
3
JNC rel
JUMP IF CARRY NOT SET
2
3
JB bit, rel
JUMP IF DIRECT BIT IS SET
3
4
JNB bit, rel
JUMP IF DIRECT BIT NOT SET
3
4
JBC bit, rel
JUMP IF DIRECT BIT IS SET AND THEN CLEAR BIT
3
5
PROAGRAM BRACHING
MNEMONIC
DESCRIPTION
BYT CYC
ACALL addr11
ABSOLUTE SUBROUTINE CALL
2
6
LCALL addr16
LONG SUBROUTINE CALL
3
6
RET
RETURN FROM SUBROUTINE
1
4
RETI
RETURN FROM INTERRUPT SUBROUTINE
1
4
AJMP addr11
ABSOLUTE JUMP
2
3
LJMP addr16
LONG JUMP
3
4
SJMP rel
SHORT JUMP
2
3
JMP @A+DPTR
JUMP INDIRECT RELATIVE TO DPTR
1
3
JZ rel
JUMP IF ACC IS ZERO
2
3
JNZ rel
JUMP IF ACC NOT ZERO
2
3
CJNE A, direct, rel
COMPARE DIRECT BYTE TO ACC AND JUMP IF NOT EQUAL
3
5
CJNE A, #data, rel
COMPARE IMMEDIATE DATA TO ACC AND JUMP IF NOT EQUAL
3
4
CJNE Rn, #data, rel
COMPARE IMMEDIATE DATA TO REGISTER AND JUMP IF NOT
EQUAL
3 4
CJNE @Ri, #data, rel
COMPARE IMMEDIATE DATA TO INDIRECT RAM AND JUMP IF NOT
3
5
EQUAL
DJNZ Rn, rel
DECREMENT REGISTER AND JUMP IF NOT EQUAL
2
4
DJNZ direct, rel
DECREMENT DIRECT BYTE AND JUMP IF NOT EQUAL
3
5
NOP
NO OPERATION
1
1
****** INHIBITED INSTRUCTION ******
MNEMONIC
DESCRIPTION
BYT CYC
MOVX A, @Ri
Move external RAM(8-bit address) to Acc
1
3
MOVX A, @DPTR
MOVE EXTERNAL RAM(16-BIT ADDRESS) TO ACC
1
2
MOVX @Ri, A
MOVE ACC TO EXTERNAL RAM(8-BIT ADDRESS)
1
3
MOVX @DPTR, A
MOVE ACC TO EXTERNAL RAM(16-BIT ADDRESS)
1
2
http://www.DataSheet4U.net/
datasheet pdf - http://www.DataSheet4U.net/