Philips Semiconductors
8-bit Flash microcontrollers
Product specification
P89C738; P89C739
18 INSTRUCTION SET
The instruction set consists of 49 single-byte, 46 two-byte and 16 three-byte instructions. When using a 12 MHz
oscillator, 64 instructions execute in 1 µs and 45 instructions execute in 2 µs. Multiply and divide instructions execute in
4 µs.
For the description of the Data Addressing modes and Hexadecimal opcode cross-reference see Table 33.
Table 29 Instruction set description: Arithmetic operations
MNEMONIC
DESCRIPTION
Arithmetic operations
ADD
ADD
ADD
ADD
ADDC
ADDC
ADDC
ADDC
SUBB
A,Rr
A,direct
A,@Ri
A,#data
A,Rr
A,direct
A,@Ri
A,#data
A,Rr
Add register to A
Add direct byte to A
Add indirect RAM to A
Add immediate data to A
Add register to A with carry flag
Add direct byte to A with carry flag
Add indirect RAM to A with carry flag
Add immediate data to A with carry flag
Subtract register from A with borrow
SUBB
SUBB
SUBB
INC
A,direct
A,@Ri
A,#data
A
Subtract direct byte from A with borrow
Subtract indirect RAM from A with borrow
Subtract immediate data from A with borrow
Increment A
INC
INC
INC
DEC
Rr
direct
@Ri
A
Increment register
Increment direct byte
Increment indirect RAM
Decrement A
DEC
DEC
DEC
INC
Rr
direct
@Ri
DPTR
Decrement register
Decrement direct byte
Decrement indirect RAM
Increment data pointer
MUL
AB
DIV
AB
DA
A
Multiply A and B
Divide A by B
Decimal adjust A
BYTES CYCLES
OPCODE
(HEX)
1
1 2*
2
1 25
1
1 26, 27
2
1 24
1
1 3*
2
1 35
1
1 36, 37
2
1 34
1
1 9*
2
1 95
1
1 96, 97
2
1 94
1
1 04
1
1 0*
2
1 05
1
1 06, 07
1
1 14
1
1 1*
2
1 15
1
1 16, 17
1
2 A3
1
4 A4
1
4 84
1
1 D4
1998 Apr 07
44