English
Language : 

AM186ED Datasheet, PDF (33/88 Pages) Advanced Micro Devices – High Performance, 80C186- and 80C188-Compatible, 16-Bit Embedded Microcontrollers
PRELIMINARY
FUNCTIONAL DESCRIPTION
The Am186ED/EDLV microcontrollers are based on ment register used for physical address generation is
the architecture of the 80C186 and 80C188 microcon- implied by the addressing mode used (see Table 5).
trollers. The Am186ED/EDLV microcontrollers function
in the enhanced mode of earlier generations of 80C186
and 80C188 microcontrollers. Enhanced mode in-
cludes system features such as power-save control.
Shift
Left
Each of the 8086, 8088, 80186, and 80188 microcon-
trollers contains the same basic set of registers, in-
structions, and addressing modes. The Am186ED/
EDLV microcontrollers are backward-compatible with
the 80C186 and 80C188 microcontrollers.
4 Bits
1
2
A
4 Segment
15
0 Base Logical
0 0 2 2 Offset Address
15
0
A full description of all the Am186ED/EDLV microcon-
troller registers and instructions is included in the
Am186ED/EDLV Microcontrollers User’s Manual, or-
1 2A 40
19
0
der# 21335A.
00 0 2 2
Memory Organization
Memory is organized in sets of segments. Each seg-
ment is a linear contiguous sequence of 64K (216) 8-bit
bytes. Memory is addressed using a two-component
address that consists of a 16-bit segment value and a
16-bit offset. The 16-bit segment values are contained
T in one of four internal segment registers (CS, DS, SS,
or ES). The physical address is calculated by shifting
the segment value left by 4 bits and adding the 16-bit
offset value to yield a 20-bit physical address (see Fig-
F ure 3). This allows for a 1-Mbyte physical address size.
All instructions that address operands in memory must
specify the segment value and the 16-bit offset value.
A For speed and compact instruction encoding, the seg-
15
0
12
19
A 6 2 Physical Address
0
To Memory
Figure 3. Two-Component Address
I/O Space
The I/O space consists of 64K 8-bit or 32K 16-bit ports.
Separate instructions (IN, INS and OUT, OUTS) ad-
dress the I/O space with either an 8-bit port address
specified in the instruction, or a 16-bit port address in
the DX register. Eight-bit port addresses are zero-ex-
tended such that A15–A8 are Low. I/O port addresses
00F8h through 00FFh are reserved.
R Memory Reference
Needed
Instructions
DLocal Data
Table 5. Segment Register Selection Rules
Segment Register Used
Implicit Segment Selection Rule
Code (CS)
Instructions (including immediate data)
Data (DS)
All data references
Stack
Stack (SS)
All stack pushes and pops;
any memory references that use BP Register
External Data (Global)
Extra (ES)
All string instruction references that use the DI Register as an index
Am186ED/EDLV Microcontrollers
33