CY7C63310, CY7C638xx

7.2.2 Source Direct

The result of an instruction using this addressing mode is placed in either the A register or the X register, which is specified as part of the instruction opcode. Operand 1 is an address that points to a location in the RAM memory space or the register space that is the source of the instruction. Arithmetic instructions require two sources; the second source is the A register or X register specified in the opcode. Instructions using this addressing mode are two bytes in length.

Table 7-8. Source Direct

 

Opcode

Operand 1

Instruction

 

Source Address

 

 

 

 

Examples

 

 

 

 

 

 

ADD

A

[7]

The value in the RAM memory location at

 

 

 

address 7 is added with the Accumulator,

 

 

 

and the result is placed in the Accumu-

 

 

 

lator.

 

 

 

 

MOV

X

REG[8]

The value in the register space at address

 

 

 

8 is moved to the X register.

 

 

 

 

7.2.3 Source Indexed

The result of an instruction using this addressing mode is placed in either the A register or the X register, which is specified as part of the instruction opcode. Operand 1 is added to the X register forming an address that points to a location in the RAM memory space or the register space that is the source of the instruction. Arithmetic instructions require two sources; the second source is the A register or X register specified in the opcode. Instructions using this addressing mode are two bytes in length.

Table 7-9. Source Indexed

 

Opcode

 

Operand 1

 

Instruction

 

Source Index

 

 

 

 

 

 

 

Examples

 

 

 

 

 

 

 

 

 

 

ADD

A

[X+7]

 

The value in the memory location at

 

 

 

 

 

address X + 7 is added with the

 

 

 

 

 

Accumulator, and the result is placed

 

 

 

 

 

in the Accumulator.

 

 

 

 

 

 

 

MOV

X

REG[X+8]

 

The value in the register space at

 

 

 

 

 

address X + 8 is moved to the X

 

 

 

 

 

register.

 

 

 

 

 

 

 

7.2.4 Destination Direct

The result of an instruction using this addressing mode is placed within the RAM memory space or the register space. Operand 1 is an address that points to the location of the result. The source for the instruction is either the A register or the X register, which is specified as part of the instruction opcode. Arithmetic instruc- tions require two sources; the second source is the location specified by Operand 1. Instructions using this addressing mode are two bytes in length.

Table 7-10. Destination Direct

 

Opcode

 

 

Operand 1

Instruction

 

Destination Address

 

 

 

 

 

Examples

 

 

 

 

 

 

 

 

 

ADD

 

[7]

A

 

The value in the memory location at

 

 

 

 

 

address 7 is added with the Accumu-

 

 

 

 

 

lator, and the result is placed in the

 

 

 

 

 

memory location at address 7. The

 

 

 

 

 

Accumulator is unchanged.

 

 

 

 

 

 

MOV

 

REG[8]

A

 

The Accumulator is moved to the

 

 

 

 

 

register space location at address 8.

 

 

 

 

 

The Accumulator is unchanged.

 

 

 

 

 

 

7.2.5 Destination Indexed

The result of an instruction using this addressing mode is placed within the RAM memory space or the register space. Operand 1 is added to the X register forming the address that points to the location of the result. The source for the instruction is the A register. Arithmetic instructions require two sources; the second source is the location specified by Operand 1 added with the X register. Instructions using this addressing mode are two bytes in length.

Table 7-11.

Destination Indexed

 

 

 

 

 

 

Opcode

 

Operand 1

Instruction

 

 

 

Destination Index

 

 

 

 

 

 

Example

 

 

 

 

 

 

 

 

 

ADD

[X+7]

 

A

The value in the; memory location at

 

 

 

 

address X+7 is added with the Accumu-

 

 

 

 

lator, and the result is placed in the

 

 

 

 

memory location at address x+7. The

 

 

 

 

Accumulator is unchanged.

 

 

 

 

 

 

Document 38-08035 Rev. *K

Page 10 of 83

[+] Feedback

Page 10
Image 10
Cypress CY7C63310 Source Direct Opcode Operand, Source Indexed Opcode Operand, Destination Direct Opcode Operand, Example

CY7C638xx, CY7C63310 specifications

The Cypress CY7C63310 and CY7C638xx series are advanced USB microcontrollers designed for various applications requiring reliable performance and flexibility. These chips are notable for their integration of several key technologies, enabling developers to create innovative electronic designs effortlessly.

The CY7C63310 is a part of the Cypress USB microcontroller family that boasts a fully integrated 8051-compatible microprocessor core. This architecture allows for efficient execution of high-level programming languages like C, enhancing code development efforts. The microcontroller supports USB 2.0 full-speed operation, allowing for high data transfer rates of up to 12 Mbps, essential for applications involving data communication.

One of the standout features of the CY7C63310 is its programmable GPIO (General-Purpose Input/Output) pins, which provide developers with the versatility to configure these pins as inputs, outputs, or alternate functions. This flexibility is particularly advantageous in applications where custom interfaces are essential, such as human-machine interfaces, sensor control, and USB peripherals.

Moreover, the CY7C638xx series presents an even broader array of features. These devices typically support various memory configurations, enabling designers to select from different on-chip RAM and flash memory options. This variety empowers projects requiring a mix of program and data storage capabilities, all while ensuring that performance remains optimal.

Both the CY7C63310 and CY7C638xx series leverage Cypress's EZ-USB technology, which simplifies the process of USB interface implementation. The EZ-USB architecture minimizes the effort associated with USB protocol complexity, allowing developers to focus on the core functionality of their applications.

These microcontrollers also incorporate features such as low-power operation, making them ideal for battery-operated devices. With various power management modes, designers can optimize energy consumption according to the specific needs of their applications.

In terms of connectivity, these chips support multiple interface standards, including SPI, I2C, and UART. These capabilities ensure that developers can easily interface with other components and systems, enhancing the overall utility of the microcontroller.

In summary, the Cypress CY7C63310 and CY7C638xx microcontrollers stand out for their robust features, including integrated USB functionality, flexible GPIO options, and support for various communication protocols. These attributes make them suitable for a wide range of applications, from consumer electronics to industrial automation, making them an excellent choice for developers seeking reliable and adaptable microcontroller solutions.