cs5954am Cypress Semiconductor Corporation., cs5954am Datasheet - Page 31

no-image

cs5954am

Manufacturer Part Number
cs5954am
Description
Usb Controller For Nand Flash
Manufacturer
Cypress Semiconductor Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CS5954AM
Manufacturer:
CY
Quantity:
4 853
8.14
Indirect Addressing with Auto Increment works identically to Indirect Addressing, except that at the end of the read or write cycle,
the register is incremented by 1 or 2 (depending whether it is a byte-wide or word-wide access).
This mode is prohibited for register R15. If bits 0..2 are all high, the instruction is decoded differently, as explained at the top of
this section.
8.15
In Indirect Addressing with Offset, the instruction word is followed by a 16-bit word that is added to the contents of the address
register to form the address for the operand. The offset is an unsigned 16-bit word, and will “wrap” to low memory addresses if
the register and offset add up to a value greater than the size of the processor’s address space.
8.16
Register R15 is designated as the Stack Pointer, and has these special behaviors:
CS5954AM–CPU Instruction Set
The instruction set can be roughly divided into three classes of instructions:
8.17
Instructions with source and destination for ALL dual operand instructions–byte values are zero extended by default.
destination:= source
Flags Affected: none
destination:= destination + source
Flags Affected: Z, C, O, S
destination:= destination + source + carry bit
Flags Affected: Z, C, O, S
destination:= destination – source
Flags Affected: Z, C, O, S
Document #: 38-08025 Rev. **
MOV
bit:
ADD
bit:
ADDC
bit:
SUB
bit:
• If addressed in indirect mode, the register pre-decrements on a write instruction, and post-increments on a read
• Byte-wide reads or writes are prohibited in indirect mode.
• If R15 is addressed in Indirect with Index mode, it does not auto-increment or auto-decrement.
• Dual Operand Instructions (Instructions with two operands: a source and a destination)
• Program Control Instructions (Jump, Call, and Return)
• Single Operand Instructions (Instructions with only one operand: a destination).
instruction, emulating Push and Pop instructions.
Indirect Addressing with Auto Increment
Indirect Addressing with Offset
Stack Pointer (R15) Special Handling
Dual Operand Instructions
15
15
15
15
14
14
14
14
0010
0000
0001
0011
13
13
13
13
12
12
12
12
11
11
11
11
ADVANCE
INFORMATION
10
10
10
10
9
9
9
9
source
source
source
source
8
8
8
8
7
7
7
7
6
6
6
6
5
5
5
5
4
4
4
4
Destination
Destination
Destination
Destination
3
3
3
3
2
2
2
CS5954AM
2
Page 31 of 44
1
1
1
1
0
0
0
0

Related parts for cs5954am