MOV C,bit
MOV bit,C
Move direct bit to Carry
Move Carry to direct bit
2
2
3
4
BOOLEAN VARIABLE MANIPULATION
JC rel
Jump if Carry is set
2
2
3
3
3
3
3
4
4
5
JNC rel
Jump if Carry not set
JB bit,rel
JNB bit,rel
JBC bit,rel
Jump if direct bit is set
Jump if direct bit not set
Jump if direct bit is set and then clear bit
PROAGRAM BRACHING
ACALL addr11
LCALL addr16
RET
Absolute subroutine call
2
3
1
1
2
3
2
1
2
2
3
3
3
3
2
3
1
6
6
4
4
3
4
3
3
3
3
5
4
4
5
4
5
1
Long subroutine call
Return from subroutine
RETI
Return from interrupt subroutine
Absolute jump
AJMP addr11
LJMP addr16
SJMP rel
Long jump
Short jump
JMP @A+DPTR
JZ rel
Jump indirect relative to DPTR
Jump if Acc is zero
JNZ rel
Jump if Acc not zero
CJNE A,direct,rel
CJNE A,#data,rel
CJNE Rn,#data,rel
CJNE @Ri,#data,rel
DJNZ Rn,rel
DJNZ direct,rel
NOP
Compare direct byte to Acc and jump if not equal
Compare immediate data to Acc and jump if not equal
Compare immediate data to register and jump if not equal
Compare immediate data to indirect RAM and jump if not equal
Decrement register and jump if not equal
Decrement direct byte and jump if not equal
No Operation
Note 1: The cycle time for access of external auxiliary RAM is:
EMAI[1:0] = 00: 5 + 2 x ALE_Stretch + RW_Stretch + 2 x RWSH; (5~20)
EMAI[1:0] = 01: 3 + RW_Stretch + 2 x RWSH; (3~12)
EMAI[1:0] = 10: 3 + RW_Stretch + 2 x RWSH; (3~12)
EMAI[1:0] = 11: Not Define.
146
MG82FEL564 Data Sheet
MEGAWIN