194
November, 2018 Rev.1.4
ANL C,bit
AND direct bit to carry
2
2
82
ANL C,/bit
AND direct bit inverse to carry
2
2
B0
ORL C,bit
OR direct bit to carry
2
2
72
ORL C,/bit
OR direct bit inverse to carry
2
2
A0
MOV C,bit
Move direct bit to carry
2
1
A2
MOV bit,C
Move carry to direct bit
2
2
92
BRANCHING
Mnemonic
Description
Bytes
Cycles
Hex code
ACALL addr 11
Absolute jump to subroutine
2
2
11→F1
LCALL addr 16
Long jump to subroutine
3
2
12
RET
Return from subroutine
1
2
22
RETI
Return from interrupt
1
2
32
AJMP addr 11
Absolute jump unconditional
2
2
01→E1
LJMP addr 16
Long jump unconditional
3
2
02
SJMP rel
Short jump (relative address)
2
2
80
JC rel
Jump on carry = 1
2
2
40
JNC rel
Jump on carry = 0
2
2
50
JB bit,rel
Jump on direct bit = 1
3
2
20
JNB bit,rel
Jump on direct bit = 0
3
2
30
JBC bit,rel
Jump on direct bit = 1 and clear
3
2
10
JMP @A+DPTR
Jump indirect relative DPTR
1
2
73
JZ rel
Jump on accumulator = 0
2
2
60
JNZ rel
Jump on accumulator ≠ 0
2
2
70
CJNE A,dir,rel
Compare A,direct jne relative
3
2
B5
CJNE A,#d,rel
Compare A,immediate jne relative
3
2
B4
CJNE Rn,#d,rel
Compare register, immediate jne relative
3
2
B8-BF
CJNE @Ri,#d,rel
Compare indirect, immediate jne relative
3
2
B6-B7
DJNZ Rn,rel
Decrement register, jnz relative
2
2
D8-DF
DJNZ dir,rel
Decrement direct byte, jnz relative
3
2
D5
MISCELLANEOUS
Mnemonic
Description
Bytes
Cycles
Hex code
NOP
No operation
1
1
00
ADDITIONAL INSTRUCTIONS (selected through EO[7:4])
Mnemonic
Description
Bytes
Cycles
Hex code
MOVC @(DPTR++),A
M8051W/M8051EW-specific instruction supporting
software download into program memory
1
2
A5
TRAP
Software break command
1
1
A5
In the above table, an entry such as E8-EF indicates a continuous block of hex opcodes used for 8
different registers, the register numbers of which are defined by the lowest three bits of the
corresponding code. Non-continuous blocks of codes, shown as 11→F1 (for example), are used for
absolute jumps and calls, with the top 3 bits of the code being used to store the top three bits of the
destination address.
The CJNE instructions use the abbreviation #d for immediate data; other instructions use #data.
Содержание MC96FR364B
Страница 17: ...MC96FR364B November 2018 Rev 1 4 17 4 PACKAGE DIMENSION...
Страница 18: ...MC96FR364B 18 November 2018 Rev 1 4 Figure 4 1 PKG DIMENSION 28 TSSOP...
Страница 23: ...MC96FR364B November 2018 Rev 1 4 23 6 3 REMOUT Port Data PAD VDD Figure 6 3 REMOUT port...
Страница 69: ...November 2018 Rev 1 4 69 Initial value 00H BIT 7 0 BIT counter value...