Intel 8XC196NP, 80C196NU, Microcontroller manual Formation of Extended and Nonextended Addresses

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 97
Image 97

8XC196NP, 80C196NU USER’S MANUAL

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

The 8XC196NP allows you to change the value of EP_REG to control which memory page a nonextended instruction accesses. However, software tools require that EP_REG be equal to 00H. The 80C196NU forces all nonextended data accesses to page 00H. You cannot use EP_REG to change pages.

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.

 

From EP_REG

16-bit Data Address Register

Nonextended Address

 

 

 

 

 

 

 

 

 

23

16 15

0

 

 

From CPU

16-bit Data Address Register

Extended Address

 

 

 

 

 

 

 

 

 

23

16 15

0

A2514-01

Figure 5-8. Formation of Extended and Nonextended Addresses

The code example below illustrates the use of extended instructions to access data in page 01H.

EP_REG

EQU 1FE5H

 

 

RSEG AT 1CH

 

TEMP:

DSW 1

 

 

RESULT:

DSW 1

 

 

 

CSEG AT 0FF2080H

 

 

.

 

;some code

 

.

 

;

 

.

 

;

SUBB:

PUSHA

 

;save flags, disable interrupts

 

LD

TEMP,#1234H

;

 

EST

TEMP,010600H

;store temp value in 010600H

 

ADD

RESULT,TEMP,#4000H

;do something with registers

 

EST

RESULT,010602H

;store result in 010602H

 

.

 

;more eld/est instructions

 

.

 

;

 

.

 

;

 

POPA

 

;restore flags and interrupts

 

RET

 

;

 

.

 

;more code

 

.

 

;

 

.

 

;

DONE:

BR DONE

 

 

END

 

 

5-24

Page 97
Image 97
Intel 8XC196NP, 80C196NU, Microcontroller manual Formation of Extended and Nonextended Addresses

Microcontroller, 80C196NU, 8XC196NP specifications

The Intel 8XC196NP and 80C196NU microcontrollers are part of Intel's renowned 16-bit microcontroller series that gained popularity in the 1980s and 1990s for embedded systems applications. Designed for a variety of applications, these microcontrollers are characterized by their robust performance, versatility, and industry-standard architecture.

The 8XC196NP features an enhanced instruction set with over 100 instructions, allowing for efficient code execution. It operates at clock speeds up to 16 MHz, which contributes to improved performance in time-sensitive applications. The microcontroller is equipped with a 16-bit data bus, enabling more efficient data handling compared to its 8-bit predecessors, thus accommodating complex algorithms and large data sets.

In terms of memory architecture, the 8XC196NP supports an addressable memory space of up to 64 KB of program memory and 64 KB of data memory. This configuration provides sufficient space for large applications while ensuring fast data access. The microcontroller includes integrated features such as timers, serial I/O capabilities, and interrupt processing, which enhance its functionality for real-time applications and control mechanisms.

The 80C196NU, on the other hand, is designed for lower power operation, making it suitable for battery-powered devices. This microcontroller maintains similar features to the 8XC196NP while offering advancements that support low-power consumption. The 80C196NU can also function in a range of temperature environments, making it adaptable for industrial applications.

Both the 8XC196NP and 80C196NU support external memory interfacing, allowing designers to expand the system's capability by connecting additional ROM and RAM. This flexibility makes them appealing for developing complex systems, such as motor controls, industrial automation, and consumer electronics.

Another standout feature of these microcontrollers is their built-in debugging capabilities. Intel provided hardware and software tools that enabled developers to test and troubleshoot their applications effectively, reducing the development time and increasing reliability.

Overall, the Intel 8XC196NP and 80C196NU microcontrollers stand out for their dependability, versatility, and performance, contributing significantly to the evolution of embedded system design. Their legacy continues to influence modern microcontroller technology, ensuring their relevance in a wide array of applications today.