EasyManua.ls Logo

STC micro STC8A8K64D4 Series - Page 216

Default Icon
901 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STC8A8K64D4 Series Manual
-
- 200 -
CLR A
Clear Accumulator
1
1
CPL A
Complement Accumulator
1
1
RL A
Rotate Accumulator Left
1
1
RLC A
Rotate Accumulator Left through the Carry
1
1
RR A
Rotate Accumulator Right
1
1
RRC A
Rotate Accumulator Right through the Carry
1
1
SWAP A
Swap nibbles within the Accumulator
1
1
CLR C
Clear Carry
1
1
CLR bit
Clear direct bit
2
1
SETB C
Set Carry
1
1
SETB bit
Set direct bit
2
1
CPL C
Complement Carry
1
1
CPL bit
Complement direct bit
2
1
ANL C,bit
AND direct bit to Carry
2
1
ANL C,/bit
AND complement of direct bit to Carry
2
1
ORL C,bit
OR direct bit to Carry
2
1
ORL C,/bit
OR complement of direct bit to Carry
2
1
MOV C,bit
Move direct bit to Carry
2
1
MOV bit,C
Move Carry to direct bit
2
1
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
1
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
1
MOV direct,direct
Move direct byte to direct
3
1
MOV direct,@Ri
Move indirect RAM to direct byte
2
1
MOV direct,#data
Move immediate data to direct byte
3
1
MOV @Ri,A
Move Accumulator to indirect RAM
1
1
MOV @Ri,direct
Move direct byte to indirect RAM
2
1
MOV @Ri,#data
Move immediate data to indirect RAM
2
1
MOV DPTR,#data16
Move 16-bit immdiate data to indirect RAM
3
1
MOVC A,@A+DPTR
Move Code byte relative to DPTR to Accumulator
1
4
MOVC A,@A+PC
Move Code byte relative to PC to Accumulator
1
3
MOVX A,@Ri
Move extended RAM(8-bit addr) to Accumulator (Read)
1
3
[1]
MOVX A,@DPTR
Move extended RAM(16-bit addr) to Accumulator (Read)
1
2
[1]
MOVX @Ri,A
Move Accumulator to extended RAM(8-bit addr) (Write)
1
3
[1]
MOVX @DPTR,A
Move Accumulator to extended RAM(16-bit addr) (Write)
1
2
[1]
PUSH direct
Push direct byte onto stack
2
1
POP direct
POP direct byte from stack
2
1
XCH A,Rn
Exchange register with Accumulator
1
1
XCH A,direct
Exchange direct byte with Accumulator
2
1
XCH A,@Ri
Exchange indirect RAM with Accumulator
1
1
XCHD A,@Ri
Exchange low-order Digit indirect RAM with Accumulator
1
1
ACALL addr11
Absolute Subroutine Call
2
3
LCALL addr16
Long Subroutine Call
3
3

Table of Contents

Related product manuals