Professional Documents
Culture Documents
317
Microprocessor Systems
Design I
Instructor: Dr. Michael Geiger
Spring 2015
Lecture 3:
x86 introduction
Lecture outline
Announcements/reminders
Review
Todays lecture
Alignment
Endianness
x86 introduction
03/24/15
Microprocessors I: Lecture 3
Data storage
Registers
Memory
03/24/15
03/24/15
Byte
address
Aligned word
Aligned double
word
0
4
8
12
Unaligned
word
16
20
Microprocessors I: Lecture 2
Unaligned
double
word
4
03/24/15
Examples
Lo
Hi
0x200C
40 96 2C
00
0x2010
55 12 CD AB
0x2014
01 23
88
99
03/24/15
Microprocessors I: Lecture 2
Solution
Hi
0x200C
40 96 2C
00
0x2010
55 12 CD AB
0x2014
01 23
88
99
Lo
03/24/15
Microprocessors I: Lecture 2
Addressing modes
Memory
03/24/15
Microprocessors I: Lecture 3
Memory addressing
A constant value
One or more values stored in registers
Some combination of register and constant
03/24/15
Microprocessors I: Lecture 3
Scaled addressing
03/24/15
Microprocessors I: Lecture 3
10
x86 intro
03/24/15
Microprocessors I: Lecture 3
11
Register Set
03/24/15
Microprocessors I: Lecture 3
12
Register Set
64-bit extensions
8 additional data
registers (R8-R15)
03/24/15
Microprocessors I: Lecture 3
13
03/24/15
General uses:
Microprocessors I: Lecture 3
14
Pointer Registers
03/24/15
Microprocessors I: Lecture 3
15
Index Registers
03/24/15
Microprocessors I: Lecture 3
16
Flags Register
03/24/15
Microprocessors I: Lecture 3
17
x86 architecture
implements
independent memory
and input/output (not
shown) address spaces
Memory address space
1 MB real memory
System + transient
program area (TPA)
Input/output address
space- 65,536 bytes
long (64KB)
03/24/15
Microprocessors I: Lecture 3
18
03/24/15
Microprocessors I: Lecture 3
19
No segmentation
03/24/15
Address generated by
instruction = linear
address being
accessed
Generates 40-bit
external address
Microprocessors I: Lecture 3
20
Final notes
Next time:
Reminders:
03/24/15
Microprocessors I: Lecture 3
21