beautypg.com

Instruction set – Philips P89LPC903 User Manual

Page 105

background image

Philips Semiconductors

User’s Manual - Preliminary -

P89LPC901/902/903

INSTRUCTION SET

2003 Dec 8

105

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

Mnemonic

Description

Bytes

Cycles

Hex

code

This manual is related to the following products: