Sheet 1 Solution
Sheet 1 Solution
Faculty of Engineering
Division of Communications & Electronics
A.
1) What is the difference between the internal and external data bus?
Internal data bus: A bus connecting the internal modules of the microprocessor.
External data bus: Consists of an address, data, and control buses. Is used to read from and
write to external memory and I/O.
2) Sketch the logical and physical memory for the 80286 processor.
The 80286's address bus is 24 bits wide, therefore, it can address locations starting from
000000H to FFFFFFH which is a total of 224 = 16MB.
Consequently, the logical memory is just one array extending from 000000H to FFFFFFH.
However, the data bus width of the 80286 is 16 bits, thus, it reads 2 bytes at a time and we
must use 2 memory chips (banks). Each bank is 16M/2 = 8 MB in size.
FFFFFEH FFFFFFH
000000H 000001H
3) How many memory locations can be accessed by 8086/8088? How many Input/
Output devices can be accessed by 8086/8088?
8086 and the 8088 have 20 bit address buses and, therefore, can access 220 memory locations
Remember that 210 = 1K, 220 = 1MB, 230 = 1GB.
The 8086 and the 8088 access 216 I/O as the IN and OUT instructions may only use 16 bit
addresses.
4) What is meant by pipelined execution in general?
The microprocessor is comprised of multiple units, and they have to operate in sequence for
each instruction; fetching; decoding; executing; etc. Instead of having only one unit work
while the others remain idle, each unit operates on a different instruction.
Here is a smart analogy with laundry:
Before pipelining:
After pipelining:
6) State the address bus and data bus widths for the following processors:
a-8086 b-8088
Controls the whether the address belongs to the memory or an I/O, and specifies the type of
operation (read/write).
8) Illustrate, with drawing only, the basic internal architecture of the 8086/8088
microprocessors.
Segment Registers
Register Array
And Pointers
2) The contents of memory location B00H are FFH and those at B01 are 00H. What
is the word stored at address B00H?
3) How the double word 00567CFFH will be stored in memory starting at address
0A00H?
D) List the four general-purpose data registers. Explain their primary functions.
G) State whether the following statements are right or wrong and correct the wrong
one:
1) The physical memory organization of the 8086 allows the transfer of 2 bytes in
one operation while the 8088 can only transfer one byte in an operation.
True
2) The prefetch queue is a LIFO memory of 2 byte wide queue and 3 locations deep
in the 8086 while it is one byte wide and 4 location deep in the 8088.
3) In the Flag register, if TF=0 then the 8086/8088 microprocessor operates in the
normal mode.
True
H) State whether the following statements are right or wrong and correct the wrong
one:
1) The address bus, data bus and the control bus can be bidirectional.
True
It happens when you add two positives and get a negative, or add two negatives and get a
positive number (within the same number of bits).