Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Микроконтроллер Motorola 68HC11.pdf
Скачиваний:
42
Добавлен:
26.05.2014
Размер:
986 Кб
Скачать
☆

SECTION 3 CENTRAL PROCESSING UNIT

This section presents information on M68HC11 central processing unit (CPU) architecture, data types, addressing modes, the instruction set, and special operations such as subroutine calls and interrupts.

The CPU is designed to treat all peripheral, I/O, and memory locations identically as addresses in the 64 Kbyte memory map. This is referred to as memory-mapped I/O.

There are no special instructions for I/O that are separate from those used for memory.

This architecture also allows accessing an operand from an external memory location with no execution-time penalty.

3.1 CPU Registers

M68HC11 CPU registers are an integral part of the CPU and are not addressed as if

they were memory locations. The seven registers, discussed in the following para- 3 graphs, are shown in Figure 3-1.

7

A

0

7

 

 

 

B

0

 

8-BIT ACCUMULATORS A & B

15

 

D

 

 

 

0

 

OR 16-BIT DOUBLE ACCUMULATOR D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IX

 

 

 

 

 

 

 

INDEX REGISTER X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IY

 

 

 

 

 

 

 

INDEX REGISTER Y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SP

 

 

 

 

 

 

 

STACK POINTER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC

 

 

 

 

 

 

 

PROGRAM COUNTER

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

S X H

I N Z

V C

 

CONDITION CODES

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CARRY/BORROW FROM MSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVERFLOW

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ZERO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NEGATIVE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I-INTERRUPT MASK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HALF CARRY (FROM BIT 3)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X-INTERRUPT MASK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STOP DISABLE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HC11 PROG MODEL

Figure 3-1 Programming Model

M68HC11 E SERIES

CENTRAL PROCESSING UNIT

MOTOROLA

TECHNICAL DATA

 

3-1

Соседние файлы в предмете Радиоприемные устройства