CY8C38_1105 CYPRESS [Cypress Semiconductor], CY8C38_1105 Datasheet - Page 12

no-image

CY8C38_1105

Manufacturer Part Number
CY8C38_1105
Description
Programmable System-on-Chip (PSoC) Multiply and divide instructions
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
4.3.1 Instruction Set Summary
4.3.1.1 Arithmetic Instructions
Arithmetic instructions support the direct, indirect, register, immediate constant, and register-specific instructions. Arithmetic modes
are used for addition, subtraction, multiplication, division, increment, and decrement operations.
instructions.
Table 4-1. Arithmetic Instructions
4.3.1.2 Logical Instructions
The logical instructions perform Boolean operations such as AND, OR, XOR on bytes, rotate of accumulator contents, and swap of
nibbles in an accumulator. The Boolean operations on the bytes are performed on the bit-by-bit basis.
logical instructions and their description.
Table 4-2. Logical Instructions
Document Number: 001-11729 Rev. *S
ADD
ADD
ADD
ADD
ADDC A,Rn
ADDC A,Direct
ADDC A,@Ri
ADDC A,#data
SUBB A,Rn
SUBB A,Direct
SUBB A,@Ri
SUBB A,#data
INC
INC
INC
INC
DEC
DEC
DEC
DEC
INC
MUL
DIV
DAA
ANL
ANL
ANL
ANL
ANL
A
Rn
Direct
@Ri
DPTR
A,Rn
A,Direct
A,@Ri
A,#data
Direct, A
A,Rn
A,Direct
A,@Ri
A,#data
A
Rn
Direct
@Ri
Mnemonic
Mnemonic
Add register to accumulator
Add direct byte to accumulator
Add indirect RAM to accumulator
Add immediate data to accumulator
Add register to accumulator with carry
Add direct byte to accumulator with carry
Add indirect RAM to accumulator with carry
Add immediate data to accumulator with carry
Subtract register from accumulator with borrow
Subtract direct byte from accumulator with borrow
Subtract indirect RAM from accumulator with borrow
Subtract immediate data from accumulator with borrow
Increment accumulator
Increment register
Increment direct byte
Increment indirect RAM
Decrement accumulator
Decrement register
Decrement direct byte
Decrement indirect RAM
Increment data pointer
Multiply accumulator and B
Divide accumulator by B
Decimal adjust accumulator
AND register to accumulator
AND direct byte to accumulator
AND indirect RAM to accumulator
AND immediate data to accumulator
AND accumulator to direct byte
Description
Description
PSoC
Table 4-1
®
3: CY8C38 Family
Bytes
Table 4-2
Bytes
lists the different arithmetic
1
2
1
2
1
2
1
2
1
2
1
2
1
1
2
1
1
1
2
1
1
1
1
1
1
2
1
2
2
shows the list of
Data Sheet
Page 12 of 130
Cycles
Cycles
1
2
2
2
1
2
2
2
1
2
2
2
1
2
3
3
1
2
3
3
1
2
6
3
1
2
2
2
3
[+] Feedback

Related parts for CY8C38_1105