
Programming
2-4
Figure 2-3
Physical Address Generation
2.3
I/O SPACE
The I/O space consists of 64K 8-bit or 32K 16-bit ports. The IN and OUT instructions address
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-extended so that A15–A8 are
Low. I/O port addresses 00F8h through 00FFh are reserved. The Am186ES and Am188ES
microcontrollers provide specific instructions for addressing I/O space.
Figure 2-4
Memory and I/O Space
2.4
INSTRUCTION SET
The instruction set used by the Am186ES and Am188ES microcontrollers is identical to
the 80C186/188 instruction set. An instruction can reference from zero to several operands.
An operand can reside in a register, in the instruction itself, or in memory. Specific operand
addressing modes are discussed later in this section.
Table 2-1 lists the instructions for the Am186ES and Am188ES microcontrollers in
alphabetical order.
1 2 A 4 0
0 0 0 2 2
1 2 A 6 2
1 2 A 4
0 0 2 2
Segment
Base
Logical
Address
Shift
Left
4 Bits
Physical Address
To Memory
15
0
19
0
19
0
15
0
15
0
Offset
Memory
Space
I/O
Space
1M
64K
Содержание Am186 ES
Страница 1: ...Am186 ES and Am188 ES User s Manual...
Страница 4: ...iv...
Страница 12: ...Table of Contents xii...
Страница 22: ...Features and Performance 1 8...
Страница 60: ...System Overview 3 28...
Страница 84: ...Chip Select Unit 5 14...
Страница 132: ...Timer Control Unit 8 8...
Страница 166: ...Programmable I O Pins 11 6...
Страница 184: ...Register Summary A 18...