Docsity

8-bit Microcontroller Instruction Set: Description, Byte, Cycle, and Mnemonic, Summaries of Microprocessors

Toggle sidebar
bg1
8051 Instruction Set Summary
Rn Register R7-R0 of the currently selected Register Bank.
Data 8-bit internal data location’s address. This could be an internal Data
RAM location (0-127) or a SFR [i.e. I/O port, control register, status
register, etc. (128-255)].
@Ri 8-bit Internal Data RAM location (0-255) addressed indirectly through
register R1 or R0.
#data 8-bit constant included in instruction.
#data16 16-bit constant included in instruction.
addr16 16-bit destination address. Used by LCALL and LJMP. A branch can be
anywhere within the 64k byte Program Memory address space.
addr11 11-bit destination address. Used by ACALL and AJMP. The branch will
be within the same 2k byte page of Pr ogram Memory as the first byte of
the following instruction.
rel Signed (two’s component) 8-bit offset byte. Used by SJMP and all
conditional jumps. Range is –128 to +127 bytes relative to first byte of
the following instruction.
bit Direct Addressed bit in Internal Data RAM or Special Function Register.
Flag FlagInstruction
C OV AC
Instruction
C OV AC
ADD X X X CLR C O
ADDC X X X CPL C X
SUBB X X X ANL C,bit X
MUL O X ANL C,/bit X
DIV O X ORL C,bit X
DA X ORL C,/bit X
RRC X MOV C,bit X
RLC X CJNE X
SETB C 1
Note that operations on SFR byte address 206 or bit addresses 209-215 (i.e. the PSW or bits
in the PSW) will also affect flag settings.
Mnemonic Description Byte Cycle
Arithmetic operations
ADD A,Rn Add register to accumulator 1 1
ADD A,direct Add direct byte to accumulator 2 1
ADD A,@Ri Add indirect RAM to accumulator 1 1
ADD A,#data Add immediate data to accumulator 2 1
ADDC A,Rn Add register to accumulator with carry flag 1 1
ADDC A,direct Add direct byte to A with carry flag 2 1
ADDC A,@Ri Add indirect RAM to A with carry flag 1 1
ADDC A,#data Add immediate data to A with carry flag 2 1
SUBB A,Rn Subtract register to accumulator with borrow 1 1
SUBB A,direct Subtract direct byte to A with carry borrow 2 1
SUBB A,@Ri Subtract indirect RAM to A with carry borrow 1 1
SUBB A,#data Subtract immediate data to A with carry borrow 2 1
INC A Increment accumulator 1 1
INC Rn Increment register 1 1
INC direct Increment direct byte 2 1
INC @Ri Increment indirect RAM 1 1
DEC A Decrement accumulator 1 1
DEC Rn Decrement register 1 1
DEC direct Decrement direct byte 2 1
DEC @Ri Decrement indirect RAM 1 1
INC DPTR Increment data pointer 1 2
MUL AB Multiply A and B -> [B hi]:[A lo] 1 4
DIV AB Divide A by B -> A=result, B=remainder 1 4
DA A Decimal adjust accumulator 1 1
CLR A Clear accumulator 1 1
Mnemonic Description Byte Cycle
CPL A Complement accumulator 1 1
RL A Rotate accumulator left 1 1
RLC A Rotate accumulator left through carry 1 1
RR A Rotate accumulator right 1 1
RRC A Rotate accumulator right through carry 1 1
SWAP A Swap nibbles within the accumulator 1 1
Logic operations
ANL A,Rn AND register to accumulator 1 1
ANL A,direct AND direct byte to accumulator 2 1
ANL A,@Ri AND indirect RAM to accumulator 1 1
ANL A,#data AND immediate data to accumulator 2 1
ANL direct,A AND accumulator to direct byte 2 1
ANL direct,#data AND immediate data to direct byte 3 2
ORL A,Rn OR register to accumulator 1 1
ORL A,direct OR direct byte to accumulator 2 1
ORL A,@Ri OR indirect RAM to accumulator 1 1
ORL A,#data OR immediate data to accumulator 2 1
ORL direct,A OR accumulator to direct byte 2 1
ORL direct,#data OR immediate data to direct byte 3 2
XRL A,Rn Exclusive OR register to accumulator 1 1
XRL A,direct Exclusive OR direct byte to accumulator 2 1
XRL A,@Ri Exclusive OR indirect RAM to accumulator 1 1
XRL A,#data Exclusive OR immediate data to accumulator 2 1
XRL direct,A Exclusive OR accumulator to direct byte 2 1
XRL direct,#data Exclusive OR immediate data to direct byte 3 2
Boolean variable manipulation
CLR C Clear carry flag 1 1
CLR bit Clear direct bit 2 1
SETB C Set carry flag 1 1
SETB bit Set direct bit 2 1
CPL C Complement carry flag 1 1
CPL bit Complement direct bit 2 1
ANL C,bit AND direct bit to carry flag 2 2
ANL C,/b it AND complement of direct bit to carry 2 2
ORL C,bit OR direct bit to carry flag 2 2
ORL C,/bit OR complement of direct bit to carry 2 2
MOV C,bit Move direct bit to carry flag 2 1
MOV bit,C Move carry flag to direct bit 2 2
Program and machine control
ACALL addr11 Absolute subroutine call 2 2
LCALL addr16 Long subroutine call 3 2
RET Return from subroutine 1 2
RETI Return from interrupt 1 2
AJMP addr11 Absolute jump 2 2
LJMP addr16 Long jump 3 2
SJMP rel Short jump (relative address) 2 2
JMP @A+DPTR Jump indirect relative to the DPTR 1 2
JZ rel Jump if accumulator is zero 2 2
JNZ rel Jump if accumulator is not zero 2 2
JC rel Jump if carry flag is set 2 2
JNC rel Jump if carry flag is not set 2 2
JB bit,rel Jump if bit is set 3 2
JNB bit,rel Jump if bit is not set 3 2
JBC bit,rel Jump if direct bit is set and clear bit 3 2
CJNE A,direct,rel Compare direct byte to A and jump if not equal 3 2
Mnemonic Description Byte Cycle
CJNE A,#data,rel Compare immediate to A and jump if not equal 3 2
CJNE Rn,#data,rel Compare immed. to reg. and jump if not equal 3 2
CJNE @Rn,#data,rel Compare immed. to ind. and jump if not equal 3 2
DJNZ Rn,rel Decrement register and jump in not zero 2 2
DJNZ direct,rel Decrement direct byte and jump in not zero 3 2
NOP No operation 1 1
Data transfer
MOV A,Rn Move register to accumulator 1 1
MOV A,direct*) Move direct byte to accumulator 2 1
MOV A,@Ri Move indirect RAM to accumulator 1 1
MOV A,#data Move immediate data to accumulator 2 1
MOV Rn,A Move accumulator to register 1 1
MOV Rn,direct Move direct byte to register 2 2
MOV Rn,#data Mo ve immediate data to register 2 1
MOV direct,A Move accumulator to direct byte 2 1
MOV direct,Rn Move register to direct byte 2 2
MOV direct,direct Move direct byte to direct byte 3 2
MOV direct,@Ri Move indirect RAM to direct byte 2 2
MOV direct,#data Move immediate data to direct byte 3 2
MOV @Ri,A Move accumulator to indirect RAM 1 1
MOV @Ri,direct Move direct byte to indirect RAM 2 2
MOV @Ri,#data Move immediate data to indirect RAM 2 1
MOV DPTR,#data16 Load data pointer with a 16-bit constant 3 2
MOVC A,@A+DPTR Move code byte relative to DPTR to accumulator 1 2
MOVC A,@A+PC Move code byte relative to PC to accumulator 1 2
MOVX A,@Ri Move external RAM (8-bit addr.) to A 1 2
MOVX A,@DPTR Move external RAM (16-bit addr.) to A 1 2
MOVX @Ri,A Move A to external RAM (8-bit addr.) 1 2
MOVX @DPTR,A Move A to external RAM (16-bit addr.) 1 2
PUSH direct Push direct byte onto stack 2 2
POP direct Pop direct byte from stack 2 2
XCH A,Rn Exchange register to accumulator 1 1
XCH A,direct Exchange direct byte to accumulator 2 1
XCH A,@Ri Exchange indirect RAM to accumulator 1 1
XCHD A,@Ri Exchange low-order nibble indir. RAM with A 1 1
*) MOV A,ACC is not a valid instruction
jne A,#data,@
(jump if A ! = data)
cjne A,#data,@
je A, #data,@
(jump if A == data)
add A,#low(−data) or cjne A,#(data),ne
jz @ jmp @
ne: ...
ja, jnbe A,#data,@
(jump if A > data)
add A,#low(−data−1) or cjne A,#(data+1),ne
jc @ ne: jnc @
jae, jnb A,#data,@
(jump if A >= data)
add A,#low(−data) or cjne A,#(data),ne
jc @ ne: jnc @
jb, jnae A,#data,@
(jump if A < data)
add A,#low,(−data) or cjne A,#(data),ne
jnc @ ne: jc @
jbe, jna A,#data,@
(jump if A <= data)
add A,#low(−data−1) or cjne A,#(data+1),ne
jnc @ ne: jc @
switch A <,==,> #data
(no A modification)
cjne A,#data,ne
... ; execute code if A==data
ne: jc is_below ; jump if A<data
jnc is_above ; jump if A>data or exec. code
E
En
nj
jo
oy
y
I
It
t!
!
M
Ma
at
te
es
s
This paper was created by Štěpán Matějka alias Mates for anybody who needs it. Mates, Prague – Czech Republic 1998,2002.
CuuDuongThanCong.com https://fb.com/tailieudientucntt
Ri
ฏฺ
pf2

Partial preview of the text

Download 8-bit Microcontroller Instruction Set: Description, Byte, Cycle, and Mnemonic and more Summaries Microprocessors in PDF only on Docsity!

8051 Instruction Set Summary

Rn Register R7-R0 of the currently selected Register Bank.

Data 8-bit internal data location’s address. This could be an internal Data

RAM location (0-127) or a SFR [i.e. I/O port, control register, status

register, etc. (128-255)].

@Ri 8-bit Internal Data RAM location (0-255) addressed indirectly through

register R1 or R0.

#data 8-bit constant included in instruction.

#data16 16-bit constant included in instruction.

addr 16 16-bit destination address. Used by LCALL and LJMP. A branch can be

anywhere within the 64k byte Program Memory address space.

addr 11 11-bit destination address. Used by ACALL and AJMP. The branch will

be within the same 2k byte page of Program Memory as the first byte of

the following instruction.

rel Signed (two’s component) 8-bit offset byte. Used by SJMP and all

conditional jumps. Range is –128 to +127 bytes relative to first byte of

the following instruction.

bit Direct Addressed bit in Internal Data RAM or Special Function Register.

Instruction Flag Flag C OV AC Instruction C OV AC ADD X X X CLR C O ADDC X X X CPL C X SUBB X X X ANL C,bit X MUL O X ANL C,/bit X DIV O X ORL C,bit X DA X ORL C,/bit X RRC X MOV C,bit X RLC X CJNE X SETB C 1 Note that operations on SFR byte address 20 6 or bit addresses 20 9-215 (i.e. the PSW or bits in the PSW) will also affect flag settings. Mnemonic Description Byte Cycle Arithmetic operations ADD A,Rn Add register to accumulator 1 1 ADD A,direct Add direct byte to accumulator 2 1 ADD A,@Ri Add indirect RAM to accumulator 1 1 ADD A,#data Add immediate data to accumulator 2 1 ADDC A,Rn Add register to accumulator with carry flag 1 1 ADDC A,direct Add direct byte to A with carry flag 2 1 ADDC A,@Ri Add indirect RAM to A with carry flag 1 1 ADDC A,#data Add immediate data to A with carry flag 2 1 SUBB A,Rn Subtract register to accumulator with borrow 1 1 SUBB A,direct Subtract direct byte to A with carry borrow 2 1 SUBB A,@Ri Subtract indirect RAM to A with carry borrow 1 1 SUBB A,#data Subtract immediate data to A with carry borrow 2 1 INC A Increment accumulator 1 1 INC Rn Increment register 1 1 INC direct Increment direct byte 2 1 INC @Ri Increment indirect RAM 1 1 DEC A Decrement accumulator 1 1 DEC Rn Decrement register 1 1 DEC direct Decrement direct byte 2 1 DEC @Ri Decrement indirect RAM 1 1 INC DPTR Increment data pointer 1 2 MUL AB Multiply A and B - > [B hi]:[A lo] 1 4 DIV AB Divide A by B -> A=result, B=remainder 1 4 DA A Decimal adjust accumulator 1 1 CLR A Clear accumulator 1 1 Mnemonic Description Byte Cycle CPL A Complement accumulator 1 1 RL A Rotate accumulator left 1 1 RLC A Rotate accumulator left through carry 1 1 RR A Rotate accumulator right 1 1 RRC A Rotate accumulator right through carry 1 1 SWAP A Swap nibbles within the accumulator 1 1 Logic operations ANL A,Rn AND register to accumulator 1 1 ANL A,direct AND direct byte to accumulator 2 1 ANL A,@Ri AND indirect RAM to accumulator 1 1 ANL A,#data AND immediate data to accumulator 2 1 ANL direct,A AND accumulator to direct byte 2 1 ANL direct,#data AND immediate data to direct byte 3 2 ORL A,Rn OR register to accumulator 1 1 ORL A,direct OR direct byte to accumulator 2 1 ORL A,@Ri OR indirect RAM to accumulator 1 1 ORL A,#data OR immediate data to accumulator 2 1 ORL direct,A OR accumulator to direct byte 2 1 ORL direct,#data OR immediate data to direct byte 3 2 XRL A,Rn Exclusive OR register to accumulator 1 1 XRL A,direct Exclusive OR direct byte to accumulator 2 1 XRL A,@Ri Exclusive OR indirect RAM to accumulator 1 1 XRL A,#data Exclusive OR immediate data to accumulator 2 1 XRL direct,A Exclusive OR accumulator to direct byte 2 1 XRL direct,#data Exclusive OR immediate data to direct byte 3 2 Boolean variable manipulation CLR C Clear carry flag 1 1 CLR bit Clear direct bit 2 1 SETB C Set carry flag 1 1 SETB bit Set direct bit 2 1 CPL C Complement carry flag 1 1 CPL bit Complement direct bit 2 1 ANL C,bit AND direct bit to carry flag 2 2 ANL C,/bit AND complement of direct bit to carry 2 2 ORL C,bit OR direct bit to carry flag 2 2 ORL C,/bit OR complement of direct bit to carry 2 2 MOV C,bit Move direct bit to carry flag 2 1 MOV bit,C Move carry flag to direct bit 2 2 Program and machine control ACALL addr 11 Absolute subroutine call 2 2 LCALL addr 16 Long subroutine call 3 2 RET Return from subroutine 1 2 RETI Return from interrupt 1 2 AJMP addr 11 Absolute jump 2 2 LJMP addr 16 Long jump 3 2 SJMP rel Short jump (relative address) 2 2 JMP @A+DPTR Jump indirect relative to the DPTR 1 2 JZ rel Jump if accumulator is zero 2 2 JNZ rel Jump if accumulator is not zero 2 2 JC rel Jump if carry flag is set 2 2 JNC rel Jump if carry flag is not set 2 2 JB bit,rel Jump if bit is set 3 2 JNB bit,rel Jump if bit is not set 3 2 JBC bit,rel Jump if direct bit is set and clear bit 3 2 CJNE A,direct,rel Compare direct byte to A and jump if not equal 3 2 Mnemonic Description Byte Cycle CJNE A,#data,rel Compare immediate to A and jump if not equal 3 2 CJNE Rn,#data,rel Compare immed. to reg. and jump if not equal 3 2 CJNE @Rn,#data,rel Compare immed. to ind. and jump if not equal 3 2 DJNZ Rn,rel Decrement register and jump in not zero 2 2 DJNZ direct,rel Decrement direct byte and jump in not zero 3 2 NOP No operation 1 1 Data transfer MOV A,Rn Move register to accumulator 1 1 MOV A,direct*) Move direct byte to accumulator 2 1 MOV A,@Ri Move indirect RAM to accumulator 1 1 MOV A,#data Move immediate data to accumulator 2 1 MOV Rn,A Move accumulator to register 1 1 MOV Rn,direct Move direct byte to register 2 2 MOV Rn,#data Move immediate data to register 2 1 MOV direct,A Move accumulator to direct byte 2 1 MOV direct,Rn Move register to direct byte 2 2 MOV direct,direct Move direct byte to direct byte 3 2 MOV direct,@Ri Move indirect RAM to direct byte 2 2 MOV direct,#data Move immediate data to direct byte 3 2 MOV @Ri,A Move accumulator to indirect RAM 1 1 MOV @Ri,direct Move direct byte to indirect RAM 2 2 MOV @Ri,#data Move immediate data to indirect RAM 2 1 MOV DPTR,#data 16 Load data pointer with a 16-bit constant 3 2 MOVC A,@A+DPTR Move code byte relative to DPTR to accumulator 1 2 MOVC A,@A+PC Move code byte relative to PC to accumulator 1 2 MOVX A,@Ri Move external RAM ( 8 - bit addr.) to A 1 2 MOVX A,@DPTR Move external RAM (16-bit addr.) to A 1 2 MOVX @Ri,A Move A to external RAM (8-bit addr.) 1 2 MOVX @DPTR,A Move A to external RAM ( 1 6-bit addr.) 1 2 PUSH direct Push direct byte onto stack 2 2 POP direct Pop direct byte from stack 2 2 XCH A,Rn Exchange register to accumulator 1 1 XCH A,direct Exchange direct byte to accumulator 2 1 XCH A,@Ri Exchange indirect RAM to accumulator 1 1 XCHD A,@Ri Exchange low-order nibble indir. RAM with A 1 1 *) MOV A,ACC is not a valid instruction jne A,#data,@ (jump if A! = data) cjne A,#data,@ je A, #data,@ (jump if A == data) add A,#low(−data) or cjne A,#(data),ne jz @ jmp @ ne: ... ja, jnbe A,#data,@ (jump if A > data) add A,#low(−data−1) or cjne A,#(data+ 1 ),ne jc @ ne: jnc @ jae, jnb A,#data,@ (jump if A >= data) add A,#low(−data) or cjne A,#(data),ne jc @ ne: jnc @ jb, jnae A,#data,@ (jump if A < data) add A,#low,(−data) or cjne A,#(data),ne jnc @ ne: jc @ jbe, jna A,#data,@ (jump if A <= data) add A,#low(−data−1) or cjne A,#(data+ 1 ),ne jnc @ ne: jc @ switch A <,==,> #data (no A modification) cjne A,#data,ne ... ; execute code if A==data ne: jc is_below ; jump if A<data jnc is_above ; jump if A>data or exec. code EEnnjjooyy IItt!! MMaatteess

This paper was created by Št ě pán Mat ě jka alias Mates for anybody who needs it. Mates, Prague – Czech Republic 1 998,2002.

CuuDuongThanCong.com https://fb.com/tailieudientucntt Riฏฺ

8051 Instruction Set Table

Mates (c) 1995,

2002 .1 .2 .3 .4 .5 .6 .7 .8 .9 .A .B .C .D .E .F

INC

DEC

A8 ..... address 8 bits A16 ... address 16 bits AR .... relative address 8 bits BIT ... bit's address D ....... data 8 bits

ADD

ADDC ORL ANL XRL MOV MOV SUBB MOV CJNE XCH DJNZ MOV

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

 -. - @R0 @R1 R0 R1 R2 R3 R4 R5 R6 R 0 1 2 3 4 5 6 7 8 9 A B C D E F - 2 2c D16 data 16 bits - LJMP A - 15 1c - INC R - 14 1c - INC R - 13 1c - INC R - 12 1c - INC R - 28 1c - DEC R - 29 1c - DEC R - 30 1c - DEC R - 31 1c - DEC R - 44 1c - ADD A,R - 45 1c - ADD A,R - 46 1c - ADD A,R - 47 1c - ADD A,R - 60 1c - 76 1c - ORL A,R - 77 1c - ORL A,R - 78 1c - ORL A,R - 79 1c - ORL A,R - 92 1c - ANL A,R - 93 1c - ANL A,R - 94 1c - ANL A,R - 95 1c - ANL A,R - 108 1c - XRL A,R - 109 1c - XRL A,R - 110 1c - XRL A,R - 111 1c - XRL A,R - 124 1c - 140 2c MOV R4,#D - MOV A8,R - 172 2c - MOV R4,A - 204 1c - XCH A,R - 236 1c - MOV A,R - 252 1c - 1 2c MOV R4,A - AJMP 0A - 0 1c - 17 2c NOP - ACALL 0A 
  • 16 2c
  • 32 2c JBC BIT,AR - 61 1c 1 62 1c 1 63 1c JB BIT,AR - 156 1c MOV - 188 2c - 220 2c - 237 1c - MOV A,R - 253 1c - 221 2c MOV R5,A - 238 1c - MOV A,R - 254 1c - 222 2c MOV R6,A - 239 1c - MOV A,R - 255 1c - 223 2c MOV R7,A - 173 2c - MOV R5,A - 205 1c - XCH A,R - 189 2c - 175 2c - MOV R7,A - 207 1c - XCH A,R - 191 2c - 174 2c - MOV R6,A - 206 1c - XCH A,R - 190 2c - 127 1c - 143 2c MOV R7,#D - MOV A8,R - 159 1c - 126 1c - 142 2c MOV R6,#D - MOV A8,R - 158 1c - 125 1c - 141 2c MOV R5,#D - MOV A8,R - 157 1c
  • 48 2c
  • 64 2c JNB BIT,AR
  • 80 2c JC AR
  • 96 2c JNC AR
  • 112 2c JZ AR
  • 128 2c JNZ AR - 33 2c SJMP AR - AJMP 1A - 49 2c - ACALL 1A - 65 2c - AJMP 2A - 81 2c - ACALL 2A - 97 2c - AJMP 3A - 113 2c - ACALL 3A - 129 2c - AJMP 4A - 145 2c - ACALL 4A - 161 2c - AJMP 5A - 177 2c - ACALL 5A - 193 2c - AJMP 6A - 209 2c - ACALL 6A - 225 2c - AJMP 7A - 241 2c - ACALL 7A - 18 2c - LCALL A - 34 2c - 50 2c RET - 66 1c RETI - 82 1c ORL A8,A - 98 1c ANL A8,A - 3 1c XRL A8,A - 35 1c RR A - 19 1c RL A - 51 1c RRC A - 4 1c RLC A - 20 1c INC A - 5 1c DEC A - INC A - 21 1c - DEC A - 36 1c - 37 1c ADD A,#D - ADD A,A - 52 1c - 53 1c ADDC A,#D - ADDC A,A - 67 1c - 83 1c ORL A8,#D - 99 1c ANL A8,#D - 68 1c XRL A8,#D - 84 1c ORL A,#D - 100 1c ANL A,#D - 69 1c XRL A,#D - ORL A,A - 85 1c - ANL A,A - 101 1c - XRL A,A - 6 1c - INC @R - 22 1c - DEC @R - 7 1c - INC @R - 23 1c - DEC @R - 8 1c - INC R - 24 1c - DEC R - 9 1c - INC R - 25 1c - DEC R - 10 1c - INC R - 26 1c - DEC R - 11 1c - INC R - 27 1c - DEC R - 43 1c - ADD A,R - 59 1c - 42 1c - ADD A,R - 58 1c - 41 1c - ADD A,R - 57 1c - 40 1c - ADD A,R - 56 1c - 38 1c 1 39 1c - 54 1c 1 55 1c - 70 1c 1 71 1c - 86 1c 1 87 1c - 102 1c 1 103 1c - 72 1c - ORL A,R - 88 1c - ANL A,R - 104 1c - XRL A,R - 73 1c - ORL A,R - 89 1c - ANL A,R - 105 1c - XRL A,R - 74 1c - ORL A,R - 90 1c - ANL A,R - 106 1c - XRL A,R - 75 1c - ORL A,R - 91 1c - ANL A,R - 107 1c - XRL A,R - 114 2c - 130 2c ORL C,BIT - 146 2c ANL C,BIT - 162 1c MOV BIT,C - 178 1c MOV C,BIT - 179 1c CPL BIT - 194 1c CPL C - 195 1c CLR BIT - 210 1c CLR C - 211 1c SETB BIT - 163 2c SETB C - 164 4c INC DPTR - 132 4c MUL AB - 196 1c DIV AB - 212 1c SWAP A - 228 1c DA A - 244 1c CLR A - 229 1c CPL A - MOV A,A - 245 1c - 232 1c MOV A8,A - MOV A,R - 248 1c - 235 1c MOV R0,A - MOV A,R - 251 1c - 233 1c MOV R3,A - MOV A,R - 249 1c - 234 1c MOV R1,A - MOV A,R - 250 1c
  • 240 2c 1 242 2c 1 243 2c MOV R2,A
  • 224 2c 1 226 2c 1 227 2c
  • 208 2c - POP A
  • 192 2c - PUSH A
  • 176 2c
  • 208 2c ANL C,BIT
  • 144 2c ORL C,BIT - 115 2c - 131 2c - 147 2c 1 148 1c - 116 1c SUBB A,#D - 230 1c 1 231 1c MOV A,#D - 246 1c 1 247 1c - 117 2c - 133 2c MOV A8,#D - MOV A8,A - 149 1c - SUBB A,A - 180 2c - 197 1c - XCH A,A - 203 1c - XCH A,R - 202 1c - XCH A,R - 201 1c - XCH A,R - 200 1c - XCH A,R - 168 2c - MOV R0,A - 169 2c - MOV R1,A - 170 2c - MOV R2,A - 171 2c - MOV R3,A - 136 2c - MOV A8,R - 137 2c - MOV A8,R - 138 2c - MOV A8,R - 139 2c - MOV A8,R - 120 1c - 121 1c MOV R0,#D - 122 1c MOV R1,#D - 123 2c MOV R2,#D - 213 2c MOV R3,#D - 152 1c 1 153 1c 1 154 1c 1 155 1c - 214 1c 1 215 1c 1 216 2c 2 217 2c 2 218 2c 2 219 2c - 198 1c 1 199 1c - 150 1c 1 151 1c - 181 2c 3 182 2c 3 183 2c 3 184 2c 3 185 2c 3 186 2c 3 187 2c - 166 2c 2 167 2c - 134 2c 2 135 2c - 118 1c 2 119 1c