Philips P89LPC938 User Manual page 135

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 125: Instruction set summary
Mnemonic
XRL A,Rn
XRL A,dir
XRL A, @Ri
XRL A,#data
XRL dir,A
XRL dir,#data
CLR A
CPL A
SWAP A
RL A
RLC A
Rotate A right
RRC A
MOV A,Rn
MOV A,dir
Move indirect memory to A
MOV A,#data
MOV Rn,A
MOV Rn,dir
MOV Rn,#data
MOV dir,A
MOV dir,Rn
MOV dir,dir
MOV dir,@Ri
MOV dir,#data
MOV @Ri,A
MOV @Ri,dir
MOV @Ri,#data
MOV DPTR,#data
MOVC A,@A+DPTR
MOVC A,@A+PC
MOVX A,@Ri
MOVX A,@DPTR
MOVX @Ri,A
MOVX @DPTR,A
PUSH dir
POP dir
XCH A,Rn
XCH A,dir
XCH A,@Ri
User manual
...continued
Description
Exclusive-OR register to A
Exclusive-OR direct byte to A
Exclusive-OR indirect memory to A
Exclusive-OR immediate to A
Exclusive-OR A to direct byte
Exclusive-OR immediate to direct byte
Clear A
Complement A
Swap Nibbles of A
Rotate A left
Rotate A left through carry
RR A
Rotate A right through carry
DATA TRANSFER
Move register to A
Move direct byte to A
MOV A,@Ri
Move immediate to A
Move A to register
Move direct byte to register
Move immediate to register
Move A to direct byte
Move register to direct byte
Move direct byte to direct byte
Move indirect memory to direct byte
Move immediate to direct byte
Move A to indirect memory
Move direct byte to indirect memory
Move immediate to indirect memory
Move immediate to data pointer
Move code byte relative DPTR to A
Move code byte relative PC to A
Move external data(A8) to A
Move external data(A16) to A
Move A to external data(A8)
Move A to external data(A16)
Push direct byte onto stack
Pop direct byte from stack
Exchange A and register
Exchange A and direct byte
Exchange A and indirect memory
Rev. 03 — 7 June 2005
UM10119
P89LPC938 User manual
Bytes
Cycles
Hex code
1
1
68 to 6F
2
1
65
1
1
66 to 67
2
1
64
2
1
62
3
2
63
1
1
E4
1
1
F4
1
1
C4
1
1
23
1
1
33
1
1
03
1
1
13
1
1
E8 to EF
2
1
E5
1
1
E6 to E7
2
1
74
1
1
F8 to FF
2
2
A8 to AF
2
1
78 to 7F
2
1
F5
2
2
88 to 8F
3
2
85
2
2
86 to 87
3
2
75
1
1
F6 to F7
2
2
A6 to A7
2
1
76 to 77
3
2
90
1
2
93
1
2
94
1
2
E2 to E3
1
2
E0
1
2
F2 to F3
1
2
F0
2
2
C0
2
2
D0
1
1
C8 to CF
2
1
C5
1
1
C6 to C7
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
135 of 139

Advertisement

Table of Contents
loading

Table of Contents