參數(shù)資料
型號: intel386 DX
廠商: Intel Corp.
英文描述: 32-Bit CHMOS Microprocessor With Integrated Memory Management(32位CHMOS 微處理器帶集成存儲管理)
中文描述: 32位CHMOS微處理器集成內(nèi)存管理(32位CHMOS微處理器帶集成存儲管理)
文件頁數(shù): 29/139頁
文件大?。?/td> 1587K
代理商: INTEL386 DX
Intel386
TM
DX MICROPROCESSOR
31
12 11
0
LINEAR ADDRESS
V
D
D
Y
U
U W W
Y
0
0
0
0
C TR6
Y
PHYSICAL ADDRESS
0
0
0
0
0
0
0
P
L
REP
0
0 TR7
NOTE:
0
indicates Intel reserved: Do not define; SEE SECTION 2.3.10
Figure 2-12. Test Registers
2.12.1 Breakpoint Instruction
A single-byte-opcode breakpoint instruction is avail-
able for use by software debuggers. The breakpoint
opcode is 0CCh, and generates an exception 3 trap
when executed. In typical use, a debugger program
can ‘‘plant’’ the breakpoint instruction at all desired
code execution breakpoints. The single-byte break-
point opcode is an alias for the two-byte general
software interrupt instruction, INT n, where n
e
3.
The only difference between INT 3 (0CCh) and INT n
is that INT 3 is never IOPL-sensitive but INT n is
IOPL-sensitive in Protected Mode and Virtual 8086
Mode.
2.12.2 Single-Step Trap
If the single-step flag (TF, bit 8) in the EFLAG regis-
ter is found to be set at the end of an instruction, a
single-step exception occurs. The single-step ex-
ception is auto vectored to exception number 1. Pre-
cisely, exception 1 occurs as a trap after the instruc-
tion following the instruction which set TF. In typical
practice, a debugger sets the TF bit of a flag register
image on the debugger’s stack. It then typically
transfers control to the user program and loads the
flag image with a signal instruction, the IRET instruc-
tion. The single-step trap occurs after executing one
instruction of the user program.
Since the exception 1 occurs as a trap (that is, it
occurs after the instruction has already executed),
the CS:EIP pushed onto the debugger’s stack points
to the next unexecuted instruction of the program
being debugged. An exception 1 handler, merely by
ending with an IRET instruction, can therefore effi-
ciently support single-stepping through a user pro-
gram.
2.12.3 Debug Registers
The Debug Registers are an advanced debugging
feature of the Intel386 DX. They allow data access
breakpoints as well as code execution breakpoints.
Since the breakpoints are indicated by on-chip regis-
ters, an instruction execution breakpoint can be
placed in ROM code or in code shared by several
tasks, neither of which can be supported by the INT3
breakpoint opcode.
The Intel386 DX contains six Debug Registers, pro-
viding the ability to specify up to four distinct break-
points addresses, breakpoint control options, and
read breakpoint status. Initially after reset, break-
points are in the disabled state. Therefore, no break-
points will occur unless the debug registers are pro-
grammed. Breakpoints set up in the Debug Regis-
ters are autovectored to exception number 1.
2.12.3.1 LINEAR ADDRESS BREAKPOINT
REGISTERS (DR0–DR3)
Up to four breakpoint addresses can be specified by
writing into Debug Registers DR0–DR3, shown in
Figure 2-13. The breakpoint addresses specified are
32-bit linear addresses. Intel386 DX hardware con-
tinuously compares the linear breakpoint addresses
in DR0–DR3 with the linear addresses generated by
executing software (a linear address is the result of
computing the effective address and adding the
32-bit segment base address). Note that if paging is
not enabled the linear address equals the physical
address. If paging is enabled, the linear address is
translated to a physical 32-bit address by the on-
chip paging unit. Regardless of whether paging is
enabled or not, however, the breakpoint registers
hold linear addresses.
2.12.3.2 DEBUG CONTROL REGISTER (DR7)
A Debug Control Register, DR7 shown in Figure
2-13, allows several debug control functions such as
enabling the breakpoints and setting up other con-
trol options for the breakpoints. The fields within the
Debug Control Register, DR7, are as follows:
LENi (breakpoint length specification bits)
A 2-bit LEN field exists for each of the four break-
points. LEN specifies the length of the associated
breakpoint field. The choices for data breakpoints
are: 1 byte, 2 bytes, and 4 bytes. Instruction execu-
29
相關(guān)PDF資料
PDF描述
Intel386 EX Highly Integrated, 32-Bit, Fully Static Embedded Micropocessor(32位高集成完全靜態(tài)嵌入式微處理器)
INTEL386 SXSA 5-V 32-Bit Fully Static Embedded Microprocessor(5V,32位完全靜態(tài)嵌入式微處理器)
intel386 SX 32-Bit CPU With a 16-Bit External Data Bus And a 24-bit External Address Bus(帶16位內(nèi)部數(shù)據(jù)總線和24位內(nèi)部地址總線32位微處理器)
INTEL386 Intel386 EX Embedded Microprocessor
Intel387 dx DX Math Coprocessor(32位數(shù)學(xué)協(xié)處理器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
INTEL386SX 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:MICROPROCESSOR
INTEL387 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:Intel387TM SX MATH COPROCESSOR
INTEL387DX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Intel387 DX - MATH COPROCESSOR
INTEL387SX 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:Intel387 SX - MATH COPROCESSOR
INTEL387TMDX 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:Intel387TM DX MATH COPROCESSOR