Академический Документы
Профессиональный Документы
Культура Документы
4-bit Microprocessors
1971
8086 / 8088
ARCHITECTURE
THE REGISTER
8-bit Microprocessors
Intel released the 8008
capable of addressing
16384 bytes and 48
instructions
16-bit Microprocessors
1972
1973
1978
1979
Intel released
8088
microprocessor
Both processors
have
multiplication
and division
instructions
1977
3
Logical Memory
Physical Memory
Actual organization of
memory that the hardware
designers see
20 memory locations
dedicated
00014H to 0007FH
FFFF0H to FFFFBH
12 memory locations
Dedicated for functions such as storage of the
hardware reset jump instruction
FFFFCH to FFFFFH
4 memory locations
Reserved for use with future products
Hexadecimal =
AX
BX
CX
DX
Accumulator
16 bits
AH 8 bits
AL - 8 bits
Base
16 bits
BH 8 bits
BL 8 bits
Count
16 bits
CH 8 bits
CL - 8 bits
Data
16 bits
DH 8 bits
DL 8 bits
Binary=
1234h
10
Segment Registers
More often used to the memory location holding the operand data for many instruction.
Hold the segment address of various items. They can only be set by a general register or
special instructions
SP
SI
Stack Pointer
Source Index
BP
CS
Contains data referenced
by all instructions and
many addressing modes
Code
Segment
Data
Segment
DS
DI
Base Pointer
Destination index
SS
Holds the string instructions
11
Stack
Segment
Extra
Segment
ES
12
Status
Register
Conditional Flags
Interrupt
flag
Direction
flag
b15
b14
b13 b12
b11
b10
Control Flags
Trap
flag
b9
b8
Unused
b7
b6
b5
Sign
flag
Overflow
flag
Conditional Flags
b4
b3
b2
Auxiliary
Carry flag
Zero
flag
b1
CF
Carry
Flag
PF
Parity
Flag
AF
ZF
Zero
Flag
SF
Sign
OF
Auxiliary
Flag
b0
Carry
flag
Flag
Overflow
Flag
Parity
flag
13
14
For Addition
For Subtraction
CF
ZF
CF
ZF
PF
SF
PF
SF
AF
OF
AF
OF
15
16
Try This
1.
2.
3.
4.
Control Flags
F033H + 6689H
23BBH 00FFH
ABCDH EF01H
2345H + 6789H
b8 (bit 8)
If set, CPU executes
instructions one at a
time
Trap Flag
(TF)
17
Interrupt Flag
(IF)
b9 (bit 9)
If set, a certain type of
interrupt can be
recognized by the CPU
Direction Flag
(DF)
18