![Sino Wealth SH79F3283 Скачать руководство пользователя страница 126](http://html1.mh-extra.com/html/sino-wealth/sh79f3283/sh79f3283_manual_1283063126.webp)
SH79F3283
126
9. Instruction Set
ARITHMETIC OPERATIONS
Opcode
Description
Code
Byte
Cycle
ADD A, Rn
Add register to accumulator
0x28-0x2F
1
1
ADD A, direct
Add direct byte to accumulator
0x25
2
2
ADD A, @Ri
Add indirect RAM to accumulator
0x26-0x27
1
2
ADD A, #data
Add immediate data to accumulator
0x24
2
2
ADDC A, Rn
Add register to accumulator with carry flag
0x38-0x3F
1
1
ADDC A, direct
Add direct byte to A with carry flag
0x35
2
2
ADDC A, @Ri
Add indirect RAM to A with carry flag
0x36-0x37
1
2
ADDC A, #data
Add immediate data to A with carry flag
0x34
2
2
SUBB A, Rn
Subtract register from A with borrow
0x98-0x9F
1
1
SUBB A, direct
Subtract direct byte from A with borrow
0x95
2
2
SUBB A, @Ri
Subtract indirect RAM from A with borrow
0x96-0x97
1
2
SUBB A, #data
Subtract immediate data from A with borrow
0x94
2
2
INC A
Increment accumulator
0x04
1
1
INC Rn
Increment register
0x08-0x0F
1
2
INC direct
Increment direct byte
0x05
2
3
INC @Ri
Increment indirect RAM
0x06-0x07
1
3
DEC A
Decrement accumulator
0x14
1
1
DEC Rn
Decrement register
0x18-0x1F
1
2
DEC direct
Decrement direct byte
0x15
2
3
DEC @Ri
Decrement indirect RAM
0x16-0x17
1
3
INC DPTR
Increment data pointer
0xA3
1
4
MUL AB 8 X 8
16 X 8
Multiply A and B
0xA4
1
11
20
DIV AB 8 / 8
16 / 8
Divide A by B
0x84
1
11
20
DA A
Decimal adjust accumulator
0xD4
1
1