MG87FE/L2051/4051/6051
MAKE YOU WIN
Preliminary Ver 1.00
SETB bit
CPL C
Set direct bit
2
1
2
2
2
2
2
2
2
2
2
1
1
1
2
2
2
2
1
2
2
2
Complement Carry
CPL bit
Complement direct bit
ANL C,bit
ANL C,/bit
ORL C,bit
ORL C,/bit
MOV C,bit
MOV bit,C
JC rel
AND direct bit to Carry
AND complement of direct bit to Carry
OR direct bit to Carry
OR complement of direct bit to Carry
Move direct bit to Carry
Move Carry to direct bit
Jump if Carry is set
JNC rel
Jump if Carry not set
BOOLEAN VARIABLE MANIPULATION
JB bit,rel
Jump if direct bit is set
3
3
3
2
2
2
JNB bit,rel
JBC bit,rel
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
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
1
Long subroutine call
Return from subroutine
RETI
Return from interrupt subroutine
Absolute jump
AJMP addr11
LJMP addr16
SJMP addr16
JMP @A+DPTR
JZ rel
Long jump
Short jump
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
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
55/56