EasyManua.ls Logo

STC micro STC8A8K64D4 Series - Instruction Set

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
-
- 199 -
10 Instruction Set
Mnemonic
Description
Bytes
Cycle
ADD A,Rn
Add register to Accumulator
1
1
ADD A,direct
Add ditect 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
1
1
ADDC A,direct
Add ditect byte to Accumulator with Carry
2
1
ADDC A,@Ri
Add indirect RAM to Accumulator with Carry
1
1
ADDC A,#data
Add immediate data to Accumulator with Carry
2
1
SUBB A,Rn
Subtract Register from Accumulator with borrow
1
1
SUBB A,direct
Subtract direct byte from Accumulator with borrow
2
1
SUBB A,@Ri
Subtract indirect RAM from Accumulator with borrow
1
1
SUBB A,#data
Substract immediate data from Accumulator with 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
1
MUL AB
Multiply A & B, high byte of result is in B, low byte in A
1
2
DIV AB
Divde A by B, quotient is in A, remainder is in B.
1
6
DA A
Decimal Adjust Accumulator
1
3
ANL A,Rn
AND Register to Accumulator
1
1
ANL A,direct
AND direct btye 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
1
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
1
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
1

Table of Contents

Related product manuals