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

no-image

CY8C32_12

Manufacturer Part Number
CY8C32_12
Description
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
4.3 Instruction Set
The 8051 instruction set is highly optimized for 8-bit handling and
Boolean operations. The types of instructions supported include:
Table 4-1. Arithmetic Instructions
Document Number: 001-56955 Rev. *N
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
Arithmetic instructions
Logical instructions
Data transfer instructions
Boolean instructions
Program branching instructions
A
Rn
Direct
@Ri
DPTR
A,Rn
A,Direct
A,@Ri
A,#data
A
Rn
Direct
@Ri
Mnemonic
Add direct byte 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 indirect RAM from accumulator with borrow
Subtract immediate data from accumulator with borrow
Increment accumulator
Increment register
Increment direct byte
Increment indirect RAM
Decrement direct byte
Decrement indirect RAM
Increment data pointer
Multiply accumulator and B
Divide accumulator by B
Decimal adjust accumulator
Add register to accumulator
Add indirect RAM to accumulator
Add immediate data to accumulator
Subtract direct byte from accumulator with borrow
Decrement accumulator
Decrement register
Description
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.
Table 4-1 Table 4-1
instructions.
on page 12lists the different arithmetic
PSoC
®
3: CY8C32 Family
Bytes
1
2
1
2
1
2
1
2
1
2
1
2
1
1
2
1
1
1
2
1
1
1
1
1
Data Sheet
Page 12 of 122
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

Related parts for CY8C32_12