DS80C320-ECD DALLAS [Dallas Semiconductor], DS80C320-ECD Datasheet - Page 65
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: 65 of 175
- Download datasheet (2Mb)
Register Indirect with Displacement
Register Indirect Addressing with Displacement is used to access data in lookup tables in program
memory space. The location is created using a base address with an index. The base address can be
either the PC or the DPTR. The index is the accumulator. The result is stored in the accumulator. An
example is as follows.
Relative Addressing
Relative Addressing is used to determine a destination address for Conditional branch. Each of these
instructions includes an 8-bit value that contains a two’s complement address offset (–127 to +128) which
is added to the PC to determine the destination address. This destination is branched to when the tested
condition is true. The PC points to the program memory location immediately following the branch
instruction when the offset is added. If the tested condition is not true, the next instruction is performed.
An example is as follows.
Page Addressing
Page Addressing is used by the Branching instructions to specify a destination address within the same
2KB block as the next contiguous instruction. The full 16-bit address is calculated by taking the five
highest order bits for the next instruction (PC+2) and concatenating them with the lowest order 11 bit
field contained in the current instruction. An example is as follows.
In this example, the current page address is 800h, so the destination address is 900h.
Extended Addressing
Extended Addressing is used by the Branching instructions to specify a 16-bit destination address within
the 64KB address space. The destination address is fixed in software as an absolute value. An example
is as follows.
MOVC
JZ
0870h
LJMP
A, @A +DPTR
$–20
ACALL100h ;Call to the subroutine at address 100h
0F732h
;Branch to the location (PC+2)–20
;if the contents of the accumulator = 0.
;Load the accumulator with the contents
of program memory
;pointed to by the contents of the DPTR
plus the value in
;the accumulator.
plus the
;current page address.
;Jump to address 0F732h.
65 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: