Philips Semiconductors

 

 

 

User’s Manual - Preliminary -

 

 

 

 

 

 

 

 

 

 

 

 

INSTRUCTION SET

 

P89LPC901/902/903

 

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

Description

Bytes

 

Cycles

Hex

 

 

 

 

 

code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV dir,#data

Move immediate to direct byte

3

 

2

75

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV @Ri,A

Move A to indirect memory

1

 

1

F6-F7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV @Ri,dir

Move direct byte to indirect memory

2

 

2

A6-A7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV @Ri,#data

Move immediate to indirect memory

2

 

1

76-77

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV DPTR,#data

Move immediate to data pointer

3

 

2

90

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVC A,@A+DPTR

Move code byte relative DPTR to A

1

 

2

93

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVC A,@A+PC

Move code byte relative PC to A

1

 

2

94

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVX A,@Ri

Move external data(A8) to A

1

 

2

E2-E3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVX A,@DPTR

Move external data(A16) to A

1

 

2

E0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVX @Ri,A

Move A to external data(A8)

1

 

2

F2-F3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVX @DPTR,A

Move A to external data(A16)

1

 

2

F0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PUSH dir

Push direct byte onto stack

2

 

2

C0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

POP dir

Pop direct byte from stack

2

 

2

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XCH A,Rn

Exchange A and register

1

 

1

C8-CF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XCH A,dir

Exchange A and direct byte

2

 

1

C5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XCH A,@Ri

Exchange A and indirect memory

1

 

1

C6-C7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XCHD A,@Ri

Exchange A and indirect memory nibble

1

 

1

D6-D7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BOOLEAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

Description

Bytes

 

Cycles

Hex code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CLR C

Clear carry

1

 

1

C3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CLR bit

Clear direct bit

2

 

1

C2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SETB C

Set carry

1

 

1

D3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SETB bit

Set direct bit

2

 

1

D2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CPL C

Complement carry

1

 

1

B3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CPL bit

Complement direct bit

2

 

1

B2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ANL C,bit

AND direct bit to carry

2

 

2

82

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ANL C,/bit

AND direct bit inverse to carry

2

 

2

B0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ORL C,bit

OR direct bit to carry

2

 

2

72

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ORL C,/bit

OR direct bit inverse to carry

2

 

2

A0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV C,bit

Move direct bit to carry

2

 

1

A2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV bit,C

Move carry to direct bit

2

 

2

92

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BRANCHING

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2003 Dec 8

105

Page 105
Image 105
Philips P89LPC901, P89LPC903, P89LPC902 user manual Boolean, Branching

P89LPC903, P89LPC902, P89LPC901 specifications

The Philips P89LPC901, P89LPC902, and P89LPC903 are a series of 8-bit microcontrollers designed for embedded system applications. These models, which belong to the LPC900 series, are notable for their affordability and versatility, making them an attractive choice for both hobbyists and professional developers.

One of the core features of the P89LPC901, P89LPC902, and P89LPC903 microcontrollers is their powerful 8-bit architecture. Operating at clock speeds up to 20 MHz, they deliver efficient performance suited for a range of tasks. Each model includes a comprehensive instruction set that supports various data manipulation and arithmetic functions, enabling extensive programming capabilities.

These microcontrollers come with built-in memory, with configurations that vary among the three models. The P89LPC901 typically features 4 KB of Flash memory and 256 bytes of RAM, while the P89LPC902 and P89LPC903 offer enhanced memory options. This Flash memory allows for reprogrammability, making it easier to update and modify applications as needed.

Another significant characteristic of the LPC900 series is their integrated peripherals. These models are equipped with a variety of I/O ports, allowing for easy interfacing with other devices and components. The P89LPC901 supports up to 32 I/O pins, while the P89LPC902 and P89LPC903 provide additional features such as analog-to-digital converters (ADCs), timers, and serial communication interfaces. This broad range of peripherals empowers developers to design complex applications without needing extra hardware.

Power consumption is also a key consideration for microcontroller applications. The P89LPC901, P89LPC902, and P89LPC903 are designed with low power consumption in mind, making them ideal for battery-operated devices and energy-efficient projects. They can operate in various power modes, allowing for greater flexibility in deployment.

In terms of technology, these microcontrollers utilize advanced CMOS technology, ensuring high reliability and durability. Their design offers a robust solution for numerous applications, including consumer electronics, industrial controls, and automation systems.

In summary, the Philips P89LPC901, P89LPC902, and P89LPC903 microcontrollers present an attractive combination of performance, integrated peripherals, low power consumption, and versatility. Their features cater to a wide array of applications, keeping them relevant in a rapidly evolving technology landscape. For hobbyists and professionals alike, these microcontrollers represent a reliable foundation for embedded system development.