Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
eng_pc1.doc
Скачиваний:
5
Добавлен:
11.07.2019
Размер:
75 Кб
Скачать

Text II

The Microprocessor In all PCs, the microprocessor is the chip that runs programs. The microprocessor, or central processing unit (CPU), carries out a variety of computations, numeric comparisons, and data transfers in response to programs stored in memory.

The CPU controls the computer's basic operation by sending and receiving control signals, memory address­es, and data from one part of the computer to another along a group of interconnecting electronic pathways called a bus. Located along the bus are input and output (I/O) ports that connect the various memory and support chips to the bus. Data passes through these I/O ports while it travels to and from the CPU and the other parts of the computer.

We'll point out the similarities and differences between the different microprocessors as we describe them.

Text III

The 8088 is the 16-bit microprocessor that controls the standard IBM personal computers, including the orig­inal PC, the PC/XT, the Portable PC, and the PCjr. Almost every bit of data that enters or leaves the computer passes through the CPU to be processed.

Inside the 8088, -14 registers provide a working area for data transfer and processing. These internal regis­ters, forming an area 28 bytes in size, are able to temporarily store data, memory addresses, instruction pointers, and status and control flags. Through these registers, 1 he 8088 can access 1 MB (megabyte), or more than one million bytes, of memory.

The 8086 is used in the PS/2 models 25 and 30 (and also in many IBM PC clones). The 8086 differs from the 8088 in only one minor respect: it uses a full 16-bit data bus instead of the 8-bit bus that the 8088 uses. (The dif­ference between 8-bit and 16-bit buses is discussed below.) Virtually anything that you read about the 8086 also applies to the 8088; for programming purposes, consider thorn identical.

The 80286 is used in the PC/AT and in the PS/2 models 50 and 60. Although fully compatible with the 8086, the 80286 supports extra programming features that let it execute programs much more quickly than the 8086. Per­haps the most important enhancement to the 80286 is its support for multitasking.

Multitasking is the ability of a CPU to perform sever­al tasks at a time — such as printing a document and calculating a spreadsheet — by quickly switching its attention among the controlling programs.

The 8088 used in a PC or PC/XT can support multitask­ing with the help of sophisticated control software.

However, an 80286 can do a much better job of multitask­ing because it executes programs more quickly and ad­dresses much more memory than the 8088. Moreover, the 80286 was designed to prevent tasks from interfering with each other.

The 80286 can run in either of two operating modes: real mode or protected mode. In real mode, the 80286 is programmed exactly like an 8086. It can access the same 1 MB range of memory addresses as the 8086. In protected mode, however, the 80286 reserves a predetermined amount of memory for an executing program, preventing that memory from being used by any other program. This means that several programs can execute concurrently without the risk of one program accidentally changing the con­tents of another program's memory area. An operating system using 80286 protected mode can allocate memory among several different tasks much more effectively than can an 8086-based operating system.

The PS/2 Model 80 uses the 80386, a faster, more powerful microprocessor than the 80286. The 80386 sup­ports the same basic functions as the 8086 and offers the same protected-mode memory management as the 80286.

However, the 80386 offers two important advantages over its predecessors:

The 80386 is a 32-bit microprocessor with 32-bit reg­isters. It can perform computations and address memory 32 bits at a time instead of 16 bits at a time.

The 80386 offers more flexible memory management than the 80286 and 8086.

8088 является 16-битным микропроцессором, который управляется стандартными персональными компьютерами IBM, в том числе оригинальные ¬ Инал PC, PC / XT, портативные ПК, и PCjr. Почти каждый бит данных, который входит или выходит в компьютер проходит через центральный процессор для обработки. Внутри 8088, -14 регистров обеспечивают рабочие области для передачи и обработки данных. Эти внутренние регистры, образуя площадь 28 байт, в состоянии временного хранения данных, адресов памяти, обучения указатели и контроля и управления с флагами. С помощью этих регистров, 1 8088, он может получить доступ к 1 МБ (мегабайт), или более чем один миллион байт, памяти. 8086 используется в PS / 2 моделей 25 и 30 (а также во многих IBM PC, клоны). 8086 отличается от 8088 лишь одно незначительное уважение: он использует полную 16-разрядную шину данных, а не 8-битную шину, что 8088 использует. (Конференции DIF ¬ между 8-битные и 16-разрядные шины, обсуждается ниже.) Практически все, что вы читали о 8086 также относится к 8088, а для целей программирования, рассмотрим шип идентичны. 80286 используется в PC / AT и PS / 2 моделей 50 и 60. Хотя полностью совместим с 8086, 80286 поддерживает дополнительные функции программирования, которые позволяют это выполнять программы гораздо быстрее, чем 8086. Пер ¬ HAPS наиболее важным усовершенствованием 80286 является поддержка многозадачности. Многозадачность является способность процессора выполнять разорвать ¬ др. задач на время - например, печать документа и расчета таблиц - за счет быстрого переключения внимания среди управляющих программ. 8088, используемые в ПК или PC / XT поддерживает многозадачность ¬ ING с помощью сложного программного обеспечения управления. Тем не менее, 80286 может сделать гораздо лучше многозадачной ¬ ING, поскольку он осуществляет программы быстрее и объявления ¬ платья гораздо больше памяти, чем 8088. Кроме того, 80286 был разработан для предотвращения задания из мешая друг другу. 80286 может работать в двух режимах: режиме реального или защищенном режиме. В реальном режиме 80286 программируется так же, как 8086. Он может обращаться к одному 1 Мб диапазон адресов памяти, как 8086. В защищенном режиме, однако, 80286 резервы заранее определенное количество памяти для выполнения программы, предотвращая, что память от использования какой-либо другой программы. Это означает, что несколько программ могут выполняться одновременно, без риска одну программу случайного изменения кон ¬ палатки области памяти другой программы. Операционной системы с помощью 80 286 защищенный режим может выделить память из нескольких различных задач гораздо более эффективно, чем может 8086 на основе операционной системы. PS / 2 модель 80 использует 80386, быстрее, мощнее, чем микропроцессор 80286. 80386 вир ¬ портами же основные функции, 8086 и предлагает те же защищенного режима управления памятью, как 80286. Тем не менее, 80386 имеет два важных преимущества по сравнению с его предшественниками: 80386 представляет собой 32-разрядный микропроцессор с 32-битными рег ¬ isters. Он может выполнять вычисления и адреса памяти 32 бит за один раз вместо 16 бит за один раз. 80386 предлагает более гибким управлением памятью, чем 80286 и 8086.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]