DS80C320-ECD DALLAS [Dallas Semiconductor], DS80C320-ECD Datasheet - Page 119
DS80C320-ECD
Manufacturer Part Number
DS80C320-ECD
Description
High-Speed Microcontroller User Guide
Manufacturer
DALLAS [Dallas Semiconductor]
Datasheet
1.DS80C320-ECD.pdf
(175 pages)
- Current page: 119 of 175
- Download datasheet (2Mb)
READ-MODIFY-WRITE INSTRUCTIONS
The normal read instructions will read the pin state without regard to the output data latch. The only
exception is the read-modify–write category of instructions. They are listed as follows.
INSTRUCTION DESCRIPTION
ANL
ORL
XRL
JBC
CPL
INC
DEC
DJNZ
MOV PX.n, C
CLR PX.n
SETB PX.n
The read-modify-write instructions read the state of the latch, then write back the result to the latch. Thus
the operation takes place using the value that was originally written to the SFR, without regard to the pin
state. The last three instructions listed above are read-modify-write because they read the entire port
latch, then write back the changed value. In this case, only one bit will be changed as specified by the
instruction.
I/O PORT TIMING
Figure 10-1 shows when port pins change in relationship to instruction timing. The example shown uses
a MOV command to change P1.0 from a logic 1 to a logic 0. This diagram is presented to aid the
designer in determining the timing relationship for very critical designs. Most designers will not need to
consider this much detail. Dummy NOP instructions are shown to illustrate subsequent instructions.
Logical AND
Logical OR
Logical Exclusive OR (XOR)
Branch if bit set then clear bit
Complement bit
Increment
Decrement
Decrement and branch if not zero
Move the carry bit to bit n of port X
Clear bit n of port X
Set bit n of port X
119 of 175
High-Speed Microcontroller User’s Guide
Related parts for DS80C320-ECD
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
Microcontroller, 8051 Comp., 4 8-Bit I/O Ports, 64K ROM/RAM, 25 MHz, 5 V, PLCC44
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
Microcontroller, 8051 Comp., 4 8-Bit I/O Ports, 64K ROM/RAM, 25 MHz, 5 V, PDIP40
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
High Resolution Temperature Measurement with Dallas Direct-to-Digital Temperature Sensors
Manufacturer:
Dallas Semiconductor
Part Number:
Description:
32.768kHz Temperature-Compensated Crystal Oscillator
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
3.3 volt micromonitor, tolerance 20%
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
Ultra3 LVD/SE SCSI Terminator
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
SCSI Terminator
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
5-Tap Silicon Delay Line
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
5-Tap Silicon Delay Line
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
5-Tap Silicon Delay Line
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
5-Tap Silicon Delay Line
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
5-Tap Silicon Delay Line
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
5-Tap Silicon Delay Line
Manufacturer:
Dallas Semiconductor
Datasheet:
Part Number:
Description:
5-Tap Silicon Delay Line
Manufacturer:
Dallas Semiconductor
Datasheet: