![Intel 8XC196NT Скачать руководство пользователя страница 91](http://html1.mh-extra.com/html/intel/8xc196nt/8xc196nt_user-manual_2072210091.webp)
8XC196NT USER’S MANUAL
4-24
4.5
FETCHING CODE AND DATA IN THE 1-MBYTE AND 64-KBYTE MODES
This section describes how the device fetches instructions and accesses data in the 1-Mbyte and
64-Kbyte modes. When the device leaves reset, the MODE64 bit (CCB2.1) selects the 1-Mbyte
or 64-Kbyte mode. The mode cannot be changed until the next reset.
4.5.1
Fetching Instructions
The 24-bit program counter (Figure 4-7) consists of the 8-bit extended program counter (EPC)
concatenated with the 16-bit master program counter (PC). It holds the address of the next in-
struction to be fetched. The page number of the instruction is in the EPC. In 1-Mbyte mode, the
EPC can have any 8-bit value. However, only the four LSBs of the EPC are implemented exter-
nally, as EPORT pins A19:16. This means that in the 1-Mbyte mode, the device can fetch code
from any page in the 1-Mbyte address space: 00H–0FH and FFH (FFH overlays 0FH). In 64-
Kbyte mode, the EPC is fixed at FFH, which limits program memory to page FFH (and 0FH).
Figure 4-7. The 24-bit Program Counter
4.5.2
Accessing Data
Internally, data addresses have 24 bits (Figure 4-8 on page 4-25). The lower 16 bits are supplied
by the 16-bit data address register. The upper 8 bits (the page number) come from different sourc-
es for nonextended and extended instructions. (“EPORT Operation” on page 6-19 describes how
the page number is output to the EPORT pins.)
For nonextended instructions, the EP_REG register provides the page number. Data and constants
in this page are called near data and near constants.
NOTE
For compatibility with current and future programming tools, EP_REG must
contain 00H.
Data outside the page specified by EP_REG is called far data. To access far data, you must use
extended instructions. For extended instructions, the CPU provides the page number.
A2513-03
EPC
PC
23
16 15
0
Содержание 8XC196NT
Страница 1: ...8XC196NT Microcontroller User s Manual...
Страница 2: ...8XC196NT Microcontroller User s Manual June 1995 Order Number 272317 003...
Страница 22: ...1 Guide to This Manual...
Страница 23: ......
Страница 35: ......
Страница 36: ...2 Architectural Overview...
Страница 37: ......
Страница 49: ......
Страница 50: ...3 Programming Considerations...
Страница 51: ......
Страница 66: ...4 Memory Partitions...
Страница 67: ......
Страница 104: ...5 Standard and PTS Interrupts...
Страница 105: ......
Страница 147: ......
Страница 148: ...6 I O Ports...
Страница 149: ......
Страница 176: ...7 Serial I O SIO Port...
Страница 177: ......
Страница 194: ...8 Synchronous Serial I O SSIO Port...
Страница 195: ......
Страница 211: ......
Страница 212: ...9 Slave Port...
Страница 213: ......
Страница 231: ......
Страница 232: ...10 Event Processor Array EPA...
Страница 233: ......
Страница 270: ...11 Analog to digital Converter...
Страница 271: ......
Страница 291: ......
Страница 292: ...12 Minimum Hardware Considerations...
Страница 293: ......
Страница 306: ...13 Special Operating Modes...
Страница 307: ......
Страница 317: ......
Страница 318: ...14 Interfacing with External Memory...
Страница 319: ......
Страница 362: ...15 Programming the Nonvolatile Memory...
Страница 363: ......
Страница 408: ...A Instruction Set Reference...
Страница 409: ......
Страница 476: ...B Signal Descriptions...
Страница 477: ......
Страница 493: ......
Страница 494: ...C Registers...
Страница 495: ......
Страница 565: ......
Страница 566: ...Glossary...
Страница 567: ......
Страница 580: ...Index...
Страница 581: ......
Страница 597: ......