Philips Semiconductors Product specification
P83C557E4/P80C557E4/P89C557E4Single-chip 8-bit microcontroller
1999 Mar 02
46
6.14 Reset Circuitry
The reset input pin RSTIN is connected to a Schmitt trigger for noise
reduction (see Figure 46). Is the HF-oscillator selected a Reset is
accomplished by holding the RSTIN pin HIGH for at least 2 machine
cycles (24 system clock periods). Is the PLL-oscillator selected the
RSTIN-pulse must have a width of 1
µs at least, independent of the
32 kHz-oscillator is running or not (see PLL description). The CPU
responds by executing an internal reset. The RSTOUT pin
represents the signal resetting the CPU and can be used to reset
peripheral devices.
The RSTOUT level also could be high due to a Watchdog timer
overflow.
The length of the output pulse from T3 is 3 machine cycles. A pulse
of such short duration is necessary in order to recover from a
processor or system fault as fast as possible.
During Reset, ALE and PSEN
output a HIGH level. In order to
perform a correct reset, this level must not be affected by external
elements.
A Reset leaves the internal registers as shown in Table 5.
The internal RAM is not affected by Reset. At power-on, the RAM
content is indeterminate.
6.15 Power-on Reset
An automatic Reset can be obtained by switching on V
DD
, if the
RSTIN pin is connected to V
DD
via a capacitor, as shown in
Figure 47.
Is the HF oscillator selected the V
DD
rise time must not exceed 10
ms and the capacitor should be at least 2.2 µF. The decrease of the
RSTIN pin voltage depends on the capacitor and the internal resistor
R
RST
. That voltage must remain above the lower threshold for at
minimum the HF-oscillator start-up time plus 2 machine cycles. Is
the PLL-oscillator selected a 0.1 µF capacitor is sufficient to obtain
an automatic reset.
8xC557E4
V
DD
RST
R
RST
HF-Osc.: 2.2 µF
V
DD
Figure 46. On-chip Reset Configuration
R
RST
RSTIN
Schmitt
Trigger
On-chip
resistor
Overflow
timer T3
Figure 47. Power-on Reset
MUX
RSTOUT
Internal
Reset
SELXTAL1
PLL-Osc.: 0.1 µF
PLL
OSC
Capacitor for
Philips Semiconductors Product specification
P83C557E4/P80C557E4/P89C557E4Single-chip 8-bit microcontroller
1999 Mar 02
47
7. INSTRUCTION SET
The P8xC557E4 uses the powerful instruction set of the PCB80C51.
It consists of 49 single-byte, 45 two-byte and 17 three-byte
instructions. Using a 16 MHz quartz, 64 of the instructions are
executed in 0.75 µs, 45 in 1,5 µs and the multiply, divide instructions
in 3 µs.
A summary of the instruction set is given in Table 43.
The P8xC557E4 has additional Special Function Registers to
control the on-chip peripherals.
7.1 Addressing Modes
Most instructions have a “destination, source” field that specifies the
data type, addressing modes and operands involved. For all these
instructions, except for MOVs, the destination operand is also the
source operand (e.g., ADD A,R7).
There are five kinds of addressing modes:
Register Addressing
R0 – R7 (4 banks)
A,B,C (bit), AB (2 bytes), DPTR (double byte)
Direct Addressing
lower 128 bytes of internal Main RAM (including the 4 R0–R7
register banks)
Special Function Registers
128 bits in a subset of the internal Main RAM
128 bits in a subset of the Special Function Registers
Register-Indirect Addressing
internal Main RAM (@R0, @R1, @SP [PUSH/POP])
internal Auxiliary RAM (@R0, @R1, @DPTR)
external Data Memory (@R0, @R1, @DPTR)
Immediate Addressing
Program Memory (in-code 8 bit or 16 bit constant)
Base-Register-plus Index-Register-Indirect Addressing
Program Memory look-up table (@DPTR+A, @PC+A)
The first three addressing modes are usable for destination
operands.
7.1.1 80C51 Family Instruction Set
Table 42. Instruction that affect Flag settings
1
INSTRUCTION
FLAG
C OV AC
ADD
ADDC
SUBB
MUL
DIV
DA
RRC
RLC
SETB C
X
X
X
0
0
X
X
X
1
X
X
X
X
X
X
X
X
X
CLR C
CPL C
ANL C, bit
ANL C,/bit
ANL C, bit
ORL C, bit
MOV C, bit
CJNE
0
X
X
X
X
X
X
X
NOTES:
1. Note that operations on SFR byte address 208 or bit addresses
209-215 (i.e., the PSW or bits in the PSW) will also affect flag
settings.
Notes on instruction set and addressing modes:
Rn Register R7-R0 of the currently selected Register
Bank.
direct 8-bit internal data location’s address. This could be
an Internal Data RAM location (0-127) or a SFR
[i.e., I/O port, control register, status register, etc.
(128-255)].
@Ri 8-bit RAM location addressed indirectly through
register R1 or R0 of the actual register bank.
#data 8-bit constant included in the instruction.
#data 16 16-bit constant included in the instruction
addr 16 16-bit destination address. Used by LCALL and
LJMP. A branch can be anywhere within the
64 Kbytes Program Memory address space.
addr 11 11-bit destination address. Used by ACALL and
AJMP. The branch will be within the same 2 Kbytes
page of program memory as the first byte of the
following instruction.
rel Signed (two’s complement) 8-bit offset byte. Used
by SJMP and all conditional jumps. Range is –128
to +127 bytes relative to first byte of the following
instruction.
bit Direct Addressed bit in Internal Data RAM or
Special Function Register.
Hexadecimal opcode cross-reference to Table 43:
* : 8, 9, A, B, C, D, E. F.
** : 11, 31, 51, 71, 91, B1, D1, F1.
*** : 01, 21, 41, 61, 81, A1, C1, E1.
Philips Semiconductors Product specification
P83C557E4/P80C557E4/P89C557E4Single-chip 8-bit microcontroller
1999 Mar 02
48
Table 43. 80C51 Instruction Set Summary
MNEMONIC DESCRIPTION BYTE / CYCLES
OPCODE
(HEX.)
ARITHMETIC OPERATIONS
ADD A,Rn Add register to Accumulator 1 1 2*
ADD A,direct Add direct byte to Accumulator 2 1 25
ADD A,@Ri Add indirect RAM to Accumulator 1 1 26, 27
ADD A,#data Add immediate data to Accumulator 2 1 24
ADDC A,Rn Add register to Accumulator with carry 1 1 3*
ADDC A,direct Add direct byte to Accumulator with carry 2 1 35
ADDC A,@Ri Add indirect RAM to Accumulator with carry 1 1 36, 37
ADDC A,#data Add immediate data to ACC with carry 2 1 34
SUBB A,Rn Subtract Register from ACC with borrow 1 1 9*
SUBB A,direct Subtract direct byte from ACC with borrow 2 1 95
SUBB A,@Ri Subtract indirect RAM from ACC with borrow 1 1 96, 97
SUBB A,#data Subtract immediate data from ACC with borrow 2 1 94
INC A Increment Accumulator 1 1 04
INC Rn Increment register 1 1 0*
INC direct Increment direct byte 2 1 05
INC @Ri Increment indirect RAM 1 1 06, 07
DEC A Decrement Accumulator 1 1 14
DEC Rn Decrement Register 1 1 1*
DEC direct Decrement direct byte 2 1 15
DEC @Ri Decrement indirect RAM 1 1 16, 17
INC DPTR Increment Data Pointer 1 2 A3
MUL AB Multiply A and B 1 4 A4
DIV AB Divide A by B 1 4 84
DA A Decimal Adjust Accumulator 1 1 D4
LOGICAL OPERATIONS
ANL A,Rn AND Register to Accumulator 1 1 5*
ANL A,direct AND direct byte to Accumulator 2 1 55
ANL A,@Ri AND indirect RAM to Accumulator 1 1 56, 57
ANL A,#data AND immediate data to Accumulator 2 1 54
ANL direct,A AND Accumulator to direct byte 2 1 52
ANL direct,#data AND immediate data to direct byte 3 2 53
ORL A,Rn OR register to Accumulator 1 1 4*
ORL A,direct OR direct byte to Accumulator 2 1 45
ORL A,@Ri OR indirect RAM to Accumulator 1 1 46, 47
ORL A,#data OR immediate data to Accumulator 2 1 44
ORL direct,A OR Accumulator to direct byte 2 1 42
ORL direct,#data OR immediate data to direct byte 3 2 43
XRL A,Rn Exclusive-OR register to Accumulator 1 1 6*
XRL A,direct Exclusive-OR direct byte to Accumulator 2 1 65
XRL A,@Ri Exclusive-OR indirect RAM to Accumulator 1 1 66, 67

P80C557E4EFB/01,55

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT ROMLESS 80QFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet