2-27
OVERVIEW OF THE 80C186 FAMILY ARCHITECTURE
2.2.1.6
Processor Control Instructions
Processor control instructions (see Table 2-11) allow programs to control various CPU functions.
Seven of these instructions update flags, four of them are used to synchronize the microprocessor
with external events, and the remaining instruction causes the CPU to do nothing. Except for flag
operations, processor control instructions do not affect the flags.
2.2.2
Addressing Modes
The 80C186 Modular Core family members access instruction operands in several ways. Oper-
ands can be contained either in registers, in the instruction itself, in memory or at I/O ports. Ad-
dresses of memory and I/O port operands can be calculated in many ways. These addressing
modes greatly extend the flexibility and convenience of the instruction set. The following para-
graphs briefly describe register and immediate modes of operand addressing. A detailed descrip-
tion of the memory and I/O addressing modes is also provided.
2.2.2.1
Register and Immediate Operand Addressing Modes
Usually, the fastest, most compact operand addressing forms specify only register operands. This
is because the register operand addresses are encoded in instructions in just a few bits and no bus
cycles are run (the operation occurs within the CPU). Registers can serve as source operands, des-
tination operands, or both.
Table 2-11. Processor Control Instructions
Flag Operations
STC
Set Carry flag
CLC
Clear Carry flag
CMC
Complement Carry flag
STD
Set Direction flag
CLD
Clear Direction flag
STI
Set Interrupt Enable flag
CLI
Clear Interrupt Enable flag
External Synchronization
HLT
Halt until interrupt or reset
WAIT
Wait for TEST pin active
ESC
Escape to external processor
LOCK
Lock bus during next instruction
No Operation
NOP
No operation
Содержание 80C186XL
Страница 1: ...80C186XL 80C188XL Microprocessor User s Manual...
Страница 2: ...80C186XL 80C188XL Microprocessor User s Manual 1995...
Страница 18: ...1 Introduction...
Страница 19: ......
Страница 27: ......
Страница 28: ...2 Overview of the 80C186 Family Architecture...
Страница 29: ......
Страница 79: ......
Страница 80: ...3 Bus Interface Unit...
Страница 81: ......
Страница 127: ......
Страница 128: ...4 Peripheral Control Block...
Страница 129: ......
Страница 137: ......
Страница 138: ...5 ClockGenerationand Power Management...
Страница 139: ......
Страница 154: ...6 Chip Select Unit...
Страница 155: ......
Страница 178: ...7 Refresh Control Unit...
Страница 179: ......
Страница 193: ......
Страница 194: ...8 Interrupt Control Unit...
Страница 195: ......
Страница 227: ......
Страница 228: ...9 Timer Counter Unit...
Страница 229: ......
Страница 253: ......
Страница 254: ...10 Direct Memory Access Unit...
Страница 255: ......
Страница 283: ......
Страница 284: ...11 Math Coprocessing...
Страница 285: ......
Страница 302: ...12 ONCE Mode...
Страница 303: ......
Страница 306: ...A 80C186 Instruction Set Additions and Extensions...
Страница 307: ......
Страница 318: ...B Input Synchronization...
Страница 319: ......
Страница 322: ...C Instruction Set Descriptions...
Страница 323: ......
Страница 371: ......
Страница 372: ...D Instruction Set Opcodes and Clock Cycles...
Страница 373: ......
Страница 396: ...Index...
Страница 397: ......