M80C286
immediately execute an intra-segment JMP instruc-
tion to clear the instruction queue of instructions de-
coded in real address mode.
Table 15. M80C286 Pointer Test Instructions
Instruction
Operands
Function
ARPL
Selector,
Register
Adjust Requested Privilege
Level: adjusts the RPL of
the selector to the numeric
maximum of current selec-
tor RPL value and the RPL
value in the register. Set
zero flag if selector RPL
was changed by ARPL.
To force the M80C286 CPU registers to match the
initial protected mode state assumed by software,
execute a JMP instruction with a selector referring to
the initial TSS used in the system. This will load the
task register, local descriptor table register, segment
registers and initial general register state. The TR
should point at a valid TSS since any task switch
operation involves saving the current task state.
VERR
VERW
LSL
Selector
Selector
VERify for Read: sets the
zero flag if the segment re-
ferred to by the selector
can be read.
SYSTEM INTERFACE
VERify for Write: sets the
zero flag if the segment re-
ferred to by the selector
can be written.
The M80C286 system interface appears in two
forms: a local bus and a system bus. The local bus
consists of address, data, status, and control signals
at the pins of the CPU. A system bus is any buffered
version of the local bus. A system bus may also dif-
fer from the local bus in terms of coding of status
and control lines and/or timing and loading of sig-
nals. The M80C286 family includes several devices
to generate standard system buses such as the
IEEE 796 standard MULTIBUS.
Register,
Selector
Load Segment Limit: reads
the segment limit into the
register if privilege rules
and descriptor type allow.
Set zero flag if successful.
LAR
Register,
Selector
Load Access Rights: reads
the descriptor access
rights byte into the register
if privilege rules allow. Set
zero flag if successful.
Bus Interface Signals and Timing
The M80C286 microsystem local bus interfaces the
M80C286 to local memory and I/O components.
The interface has 24 address lines, 16 data lines,
and 8 status and control signals.
DOUBLE FAULT AND SHUTDOWN
If two separate exceptions are detected during a sin-
gle instruction execution, the M80C286 performs the
double fault exception (8). If an execution occurs
during processing of the double fault exception, the
M80C286 will enter shutdown. During shutdown no
further instructions or exceptions are processed. Ei-
ther NMI (CPU remains in protected mode) or RE-
SET (CPU exits protected mode) can force the
M80C286 out of shutdown. Shutdown is externally
The M80C286 CPU, M82C284 clock generator,
M82C288 bus controller, transceivers, and latches
provide a buffered and decoded system bus inter-
face. The M82C284 generates the system clock and
synchronizes READY and RESET. The M82C288
converts bus operation status encoded by the
M80C286 into command and bus control signals.
These components can provide the timing and elec-
trical power drive levels required for most system
bus interfaces including the Multibus.
signalled via a HALT bus operation with A LOW.
1
PROTECTED MODE INITIALIZATION
Physical Memory and I/O Interface
The M80C286 initially executes in real address
mode after RESET. To allow initialization code to be
placed at the top of physical memory, A –A will
A maximum of 16 megabytes of physical memory
can be addressed in protected mode. One mega-
byte can be addressed in real address mode. Memo-
ry is accessible as bytes or words. Words consist of
any two consecutive bytes addressed with the least
significant byte stored in the lowest address.
23
20
be HIGH when the M80C286 performs memory ref-
erences relative to the CS register until CS is
changed. A –A will be zero for references to the
23
20
DS, ES, or SS segments. Changing CS in real ad-
dress mode will force A –A LOW whenever CS is
Byte transfers occur on either half of the 16-bit local
data bus. Even bytes are accessed over D –D
23
20
used again. The initial CS:IP value of F000:FFF0
provides 64K bytes of code space for initialization
code without changing CS.
7
0
while odd bytes are transferred over D –D . Even-
15 8
addressed words are transferred over D –D in
15
0
one bus cycle, while odd-addressed word require
two bus operations. The first transfers data on
Protected mode operation requires several registers
to be initialized. The GDT and IDT base registers
must refer to a valid GDT and IDT. After executing
the LMSW instruction to set PE, the M80C286 must
D
15
–D , and the second transfers data on D –D .
8 7 0
Both byte data transfers occur automatically, trans-
parent to software.
21