Texas Instruments MSP50C614 manual Flag Repeat, Flagadrs, Flag addressing mode encoding, flagadrs

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 104
Image 104

Instruction Syntax and Addressing Modes

For any particular addressing mode, replace the {adrs} with the syntax shown in Table 4±4. To encode the instruction, replace the am, Rx and pm bits with the bits required by the addressing mode (Table 4±4). For example, the instruction MOV An[~], {adrs} [, next A] indicates all of the following (only partial combinations are shown):

MOV A0, *0xab12

; n = 0, {adrs} = dma16 = 0xab12

MOV A1, *R6+0x2f, ++A

; n = 1, {adrs} = *R6+0x2f, offset7 = 0x2f,

 

[next A] = ++A

MOV A2~, *R0+R5, ±±A

; n = 2, {adrs} = *R0+R5, x = 0, [next A] = ±±A

MOV A3, *R1+0x12ef

; n = 3, {adrs} = *R1+0x12ef, x = 1,

 

offset16 = 0x12ef

MOV A0, *R2

; n = 0, {adrs} = *R2, x = 2

MOV A1, *R3++, ±±A

; n = 1, {adrs} = *R3++, x = 3, [next A] = ±±A

MOV A2~, *R4±±

; n = 2, {adrs} = *R4±±, x = 4

MOV A3, *R7++R5, ++A

; n = 3, {adrs} = *R7++R5, x = 7, [next A] = ++A

Flag instructions apply to certain classes of instructions (Class 8a). They ad- dress only the flag bit by either a 6 bit global address or a 6 bit relative address from the indirect register R6. If bit 0 of these instructions is 0, then bits 1 to 6 of the opcode are taken as the bit address starting from data memory location 0000h. If bit 0 is 1, then bits 1 to 6 are used as an offset from the page register R6 to compute the relative address. Bits 0 to 6 of flag instructions are written as {flagadrs} throughout this manual. When this symbol appears, it should be replaced by the syntax and bits shown in Table 4±7

For example, AND TFn, {flagadrs} can be written as follows (not all possible combinations are shown):

AND TF1, *0x21 ; global flag addressing, flag address is 0x21 absolute

AND TF2, *R6+0x21 ; relative flag addressing, flag address is R6+0x21 absolute

Table 4±7. Flag Addressing Field {flagadrs} for Certain Flag Instructions (Class 8a)

Flag

 

 

Repeat

{flagadrs}

flag addressing mode encoding, flagadrs

Clocks

Words

 

 

 

 

 

 

 

 

 

 

 

Addressing

Operation,²

Syntax

6

5

 

4

 

3

 

2

1

0

clk

w

 

 

 

Modes

clk

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

flag address bits

 

 

g/r

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Global

1

1

nR+2

*dma6

 

 

 

dma6

 

 

 

 

0

Relative

1

1

nR+2

*R6+offset6

 

 

 

offset6

 

 

 

 

1

² nR is RPT argument

4-12

Page 104
Image 104
Texas Instruments MSP50C614 manual Flag Repeat, Flagadrs, Flag addressing mode encoding, flagadrs

MSP50C614 specifications

The Texas Instruments MSP50C614 is a microcontroller that belongs to the MSP430 family, renowned for its low power consumption and versatile functionality. Primarily designed for embedded applications, this microcontroller is favored in various industries, including consumer electronics, industrial automation, and healthcare devices.

One of the standout features of the MSP50C614 is its ultra-low power technology, which enables it to operate in various power modes. This makes it ideal for battery-powered applications, where energy efficiency is crucial. The MSP430 architecture allows for a flexible power management system, ensuring that energy is conserved while providing robust performance.

The MSP50C614 is equipped with a 16-bit RISC CPU that delivers high performance while maintaining low power usage. With a maximum clock frequency of 16 MHz, it can execute most instructions in a single cycle, resulting in swift operation and responsive performance. This microcontroller also comes with a generous flash memory capacity, allowing developers to store large amounts of code and data conveniently.

In terms of peripherals, the MSP50C614 is highly versatile. It features a range of digital and analog input/output options, including multiple timers, GPIO ports, and various communication interfaces like UART, SPI, and I2C. This extensive set of peripherals allows for seamless integration with other components and simplifies the design of complex systems.

The integrated 12-bit Analog-to-Digital Converter (ADC) stands out as a valuable characteristic of the MSP50C614. This feature enables the microcontroller to convert physical analog signals into digital data, making it particularly useful for sensing applications and real-time monitoring.

Another noteworthy technology employed in the MSP50C614 is its support for low-voltage operations. With a broad supply voltage range, this microcontroller can function efficiently in diverse environments and is suitable for low-power applications, enhancing its practicality.

Moreover, Texas Instruments provides software support in the form of Code Composer Studio and various libraries that make it easier for developers to program and utilize the MSP50C614 effectively.

In summary, the Texas Instruments MSP50C614 microcontroller is a powerful, low-power solution equipped with the features and technologies necessary for efficient operation in a wide array of applications. Its blend of performance, flexibility, and energy efficiency makes it a popular choice among engineers and designers looking to create innovative, sustainable designs in the rapidly evolving tech landscape.