Beruflich Dokumente
Kultur Dokumente
Registers/Memory
Management
Registers
Four
memory management
registers
LDTR and TR
LDTR and TR
Debug Registers
Debugging of 80386 allows data
access breakpoints as well as code
execution breakpoints.
80386 contains 6 debug registers to
specify
4 breakpoints
Breakpoint Control options
Breakpoint Status
Debug Registers
Linear Breakpoint
Address Registers
The breakpoint addresses specified
are 32-bit linear addresses
While debugging, Intel 386 h/w
continuously compares the linear
breakpoint addresses in DR0-DR3
with the linear addresses generated
by executing software.
LENi Encoding
Debug Registers
11
15
19
20
Test Registers
Programming Model
The basic programming model
consists of the following aspects:
Registers
Instruction Set
Addressing Modes
Data Types
Memory Organization
Interrupts and Exceptions
22
Instruction Set
Data Transfer
Arithmetic
Shift/Rotate
String Manipulation
Bit Manipulation
Control Transfer
High Level Language Support
Operating System Support
Processor Control
23
24
Instruction Set-Arithmetic
25
26
27
28
29
Instruction Set
30
31
32
Instruction Set
These instructions operate on either
0,1,2 or 4 operands
where an operand resides in
Register
Instruction itself
Memory
Instruction Set
One operand instructions are
generally two bytes long
The average instruction is 3.2 bytes
long
Since 80386 has a 16-byte queue, an
average of 5 instructions are
prefetched.
34
Instruction Set
The use of 2 operands permits the
following types of common instruction:
Register to Register
Memory to Register
Immediate to Register
Register to Memory
Immediate to Memory