6 Intel MP Architecture
6 Intel MP Architecture
6 Intel MP Architecture
We learned that memory was needed so that there would be a place for data & instructions
to be stored. Data & programs which can be lost after power is removed are stored in
RAM. Data & instructions which must never be lost, even after the power is turned off, are
stored in ROM. Remember that ROM is a type of memory which cannot have its contents
changed once the ROM chip is manufactured. PROM & EPROM are used in much the
same way as ROM but can be reprogrammed after manufactured but require special
equipment to program them.
8/13/2012
Addressing
Since there are many memory locations (or,
addresses), it is necessary to have a means of
referring to specific locations.
This is done through addressing. Typically,
RAM addresses are numbered 0000H (in hex)
to the highest addressable memory.
For example, using 12 binary digits, how many
unique memory locations would be possible?
P Architecture
Accumulator: one of the most often used parts of
a P is the accumulator a register which often
has its contents altered in some way.
For example, we can add the contents of the
accumulator to the contents of a RAM address.
Usually, the result of an operation is also placed
in the accumulator.
Width of Registers: maximum size of bits is
generally, 8, 16, 32, or 64
8/13/2012
8/13/2012
0100
HH
0101
HH
0102
HH
0103
HH
0104
HH
0105
HH
0106
HH
Name
32-bit names
EAX
EBX
ECX
EDX
ESP
EBP
EDI
ESI
AH AX AL
BH BX BL
CH CX CL
DH DX DL
SP
BP
DI
SI
32 bits
16 bits
EIP
EFlags
IP
Instruction pointer
CS
Code segment
Data segment
Extra segment
Stack segment
DS
ES
SS
FS
:
FFFF
Accumulator
Base index
Count
Data
Stack pointer
Base pointer
Destination index
Source index
HH
GS
Lesson Check-Up
1. Describe how the 8088/8086 accumulator
is labeled.
2. How many 8-bit general-purpose registers
does 8088 have?
3. In the 8088 what has the same function as
the program counter in 8-bit Ps?
4. If we had 20,00010 memory address lines,
what would be the last address line needed
to describe an item in hex 2 bytes wide?
8/13/2012
9. Refer to Figure shown. If we POP data item #2 (twobytes) from the stack, will the stack pointer (SP)
increment or decrement? What hex value will appear in
the SP?
10. Refer to the same Figure, if we PUSH three data items
onto the stack 1-byte each, will the SP increment or
decrement? What hex value will appear in the SP?