Philips P89LPC938 User Manual page 136

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 125: Instruction set summary
Mnemonic
XCHD A,@Ri
Mnemonic
CLR C
CLR bit
SETB C
SETB bit
CPL C
CPL bit
ANL C,bit
ANL C,/bit
ORL C,bit
ORL C,/bit
MOV C,bit
MOV bit,C
ACALL addr 11
LCALL addr 16
RET
RETI
AJMP addr 11
LJMP addr 16
SJMP rel
JC rel
JNC rel
JB bit,rel
JNB bit,rel
JBC bit,rel
JMP @A+DPTR
JZ rel
JNZ rel
CJNE A,dir,rel
CJNE A,#d,rel
CJNE Rn,#d,rel
CJNE @Ri,#d,rel
DJNZ Rn,rel
DJNZ dir,rel
NOP
User manual
...continued
Description
Exchange A and indirect memory nibble
BOOLEAN
Description
Clear carry
Clear direct bit
Set carry
Set direct bit
Complement carry
Complement direct bit
AND direct bit to carry
AND direct bit inverse to carry
OR direct bit to carry
OR direct bit inverse to carry
Move direct bit to carry
Move carry to direct bit
BRANCHING
Absolute jump to subroutine
Long jump to subroutine
Return from subroutine
Return from interrupt
Absolute jump unconditional
Long jump unconditional
Short jump (relative address)
Jump on carry = 1
Jump on carry = 0
Jump on direct bit = 1
Jump on direct bit = 0
Jump on direct bit = 1 and clear
Jump indirect relative DPTR
Jump on accumulator = 0
Jump on accumulator ≠ 0
Compare A, direct jne relative
Compare A, immediate jne relative
Compare register, immediate jne relative
Compare indirect, immediate jne relative
Decrement register, jnz relative
Decrement direct byte, jnz relative
MISCELLANEOUS
No operation
Rev. 03 — 7 June 2005
UM10119
P89LPC938 User manual
Bytes
Cycles
Hex code
1
1
D6 to D7
Bytes
Cycles
Hex code
1
1
C3
2
1
C2
1
1
D3
2
1
D2
1
1
B3
2
1
B2
2
2
82
2
2
B0
2
2
72
2
2
A0
2
1
A2
2
2
92
2
2
116F1
3
2
12
1
2
22
1
2
32
2
2
016E1
3
2
02
2
2
80
2
2
40
2
2
50
3
2
20
3
2
30
3
2
10
1
2
73
2
2
60
2
2
70
3
2
B5
3
2
B4
3
2
B8 to BF
3
2
B6 to B7
2
2
D8 to DF
3
2
D5
1
1
00
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
136 of 139

Advertisement

Table of Contents
loading

Table of Contents