Professional Documents
Culture Documents
College of Engineering
Department of Electrical Engineering
Microprocessors
3rd Power & Machine
Yazen Subhi
1
Lecture Out Line
• Numerical Systems
• 8086/8088 Microprocessor.
• Software Model of 8086/8088.
• Memory Address Space and Data Organization.
2
Numerical Systems
3
✓ Decimal (Base 10) Base
0-9
10
Counts 689
2
4 1
3
7
50
= 7X4096+0X512+5X64+1X8+3X1=29003
70513)octal= 29003)decimal
✓ Binary (Base 2) Base
0-1
2 Counts 10
Weight 16 8 4 2 1
Digits 1 1
0 1
0 01 01 == 1X2=2
1X4=4
1X8=8
1X1=1
1X16=16
= 1X16+0X8+1X4+1X2+0X1=22
10110)binary= 22)decimal
✓ Hexadecimal (Base 16) Base
0-F
16
Counts 6D
2
4 1
3
7
9
5B
8AC
0EF
70ADF)Hex.= 461535)decimal
Conversation between Binary, Hex and Decimal
8
Microarchitecture of 88/86 MPU
9
Software Architecture of the 8088/8086 Microprocessors
Instruction #1
11
Pipelining – Decode Stage
• Determine Instruction Type
• Get Necessary Data
• Setup ALU
Instruction #2 Instruction #1
12
Pipelining – Execute Stage
• Perform Required Operation
• Store Result In Result Register
13
Execution and bus interface units
14
15
Arithmetic Logic Unit (ALU)
• Addition OPERAND A
• Subtraction
• Multiplication
RESULT
• Division
• Comparison
• Logic Operations
OPERAND B
16 CONTROL
17
18
19
• words of data can be stored at what are
called even-or odd – addressed word
boundaries.
26