Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
8xC196EA microcontroller user's manual.1998.pdf
Скачиваний:
58
Добавлен:
23.08.2013
Размер:
8.29 Mб
Скачать

8XC196EA USER’S MANUAL

4.2MEMORY PARTITIONS

Table 4-1 is a memory map of the 8XC196EA. This section describes the partitions.

 

Table 4-1. 8XC196EA Memory Map

 

Hex

Description (Note 1, Note 2)

Addressing

Address

Modes

 

FFFFFF

External device (memory or I/O) connected to address/data bus

Indirect, indexed,

FF4000

extended

 

FF3FFF

Program memory (Note 3); can be mapped into page 00H (CCB1.2 = 1)

Indirect, indexed,

FF2400

extended

 

FF23FF

Program memory (Note 3)

Indirect, indexed,

FF2140

extended

 

FF213F

Special-purpose memory (PIH vectors; Note 3)

Indirect, indexed,

FF20C0

extended

 

FF20BF

Program memory (Note 3);

Indirect, indexed,

FF2080

(After reset, the first instruction is fetched from FF2080H.)

extended

FF207F

Special-purpose memory (CCBs, interrupt vectors, PTS vectors); (Note 3)

Indirect, indexed,

FF2000

extended

 

FF1FFF

External device (memory or I/O) connected to address/data bus

Indirect, indexed,

FF1000

extended

 

FF0FFF

Internal code/data RAM (identically mapped from page 00H)

Indirect, indexed,

FF0400

extended

 

FF03FF

Reserved for in-circuit emulators

FF0000

 

 

FEFFFF

Overlaid memory (reserved for future microcontrollers);

Indirect, indexed,

1F0000

locations xF0000–xF03FFH are reserved for in-circuit emulators

extended

1EFFFF

External device (memory or I/O) connected to address/data bus

Indirect, indexed,

004000

extended

 

003FFF

A copy of internal ROM (FF2400–FF3FFFH) if CCB1.2=0

Indirect, indexed,

002400

External memory if CCB1.2=1 (Note 4)

extended

0023FF

External device (memory or I/O) connected to address/data bus

Indirect, indexed,

002000

extended

 

001FFF

Memory-mapped special-function registers (SFRs); (Note 3)

Indirect, indexed,

001FFC

extended

 

001FFB

Memory-mapped special-function registers (SFRs)

Indirect, indexed,

001FE0

extended

 

001FDF

 

Indirect, indexed,

Peripheral special-function registers (SFRs)

extended,

001C00

 

windowed direct

 

 

001BFF

External device (memory or I/O) connected to address/data bus

Indirect, indexed,

001000

extended

 

NOTES:

1.Unless otherwise noted, write 0FFH to reserved memory locations and write 0 to reserved SFR bits.

2.The contents or functions of reserved locations may change in future microcontroller revisions, in which case a program that relies on one or more of these locations might not function properly.

3.External memory if EA# is low; internal ROM if EA# is high. (Only applies to the 83C196EA.)

4.When EA# is low, CCB1.2 is ignored. When EA# is high, CCB1.2 controls whether the upper 7-Kbyte section of ROM is mapped into page FFH only or into both pages FFH and 00H. (Only applies to the 83C196EA.)

4-4

 

 

MEMORY PARTITIONS

 

Table 4-1. 8XC196EA Memory Map (Continued)

 

 

 

 

Hex

Description (Note 1, Note 2)

 

Addressing

Address

 

Modes

 

 

000FFF

Internal code/data RAM (identically mapped into page FFH)

 

Indirect, indexed,

000400

 

extended

 

 

0003FF

Upper register file (general-purpose register RAM)

 

Indirect, indexed,

000100

 

windowed direct

 

 

0000FF

Lower register file (general-purpose register RAM)

 

Direct, indirect,

00001A

 

indexed

 

 

000019

Lower register file (stack pointer and CPU SFRs)

 

Direct, indirect,

000000

 

indexed

 

 

NOTES:

1.Unless otherwise noted, write 0FFH to reserved memory locations and write 0 to reserved SFR bits.

2.The contents or functions of reserved locations may change in future microcontroller revisions, in which case a program that relies on one or more of these locations might not function properly.

3.External memory if EA# is low; internal ROM if EA# is high. (Only applies to the 83C196EA.)

4.When EA# is low, CCB1.2 is ignored. When EA# is high, CCB1.2 controls whether the upper 7-Kbyte section of ROM is mapped into page FFH only or into both pages FFH and 00H. (Only applies to the 83C196EA.)

4.2.1External Memory

Several partitions in pages 00H and FFH and all of pages 01H–1EH are assigned to external memory (see Table 4-1). Data can be stored in any part of this memory. Instructions can be stored in any part of this memory in 2-Mbyte mode, but can be stored only in page FFH in 64-Kbyte mode. Chapter 15, “Interfacing with External Memory,” describes the external memory interface and shows examples of external memory configurations.

4-5

Соседние файлы в предмете Электротехника