Sunteți pe pagina 1din 2

7/7/2015

FT281

FT021/3ComputerSystemsSummer
2004
1. (a) Explain the purpose and operation of the Compare and Test instructions in the 8086
microprocessor. [5 marks]
(b) Develop a suitable algorithm and write an assembly language programme to control a set
of traffic lights, with details shown in Table 1, at the junction of a side road and a main
road, using the 8086 microprocessor. Assume the delay subroutines, between traffic light
sequences, are already prewritten and available. Also, assume that a logic '1' switches the
lights on via output address 0060h. [9 marks]
Side Street 2
Main Street 2
Side Street 1
Main Street 1
11
10
9
8
7
6
5
4
3
2
1
0
Red Orange Green Red Orange Green Red Orange Green Red Orange Green
Table 1
(c) Explain the purpose and operation of the Stack and Stack Pointer [6 marks]

2. (a) Compare briefly Static and Dynamic Random Access Memory (RAM). Draw the circuit
arrangement of a dualemitter bipolar static RAM cell and describe the operation of the cell
in standby, read and write modes. [8 marks]
(b) Using a 2 to 4 decoder, whose outputs and a single enable input are active low, draw a
diagram showing four contiguous blocks of 32k x 16 Random Access Memory (RAM) can be
fully address decoded to have a physical start addresses of $40000. Assume that the system
has a 20bit address bus and a 16bit data bus. [8 marks]
(c) Explain the difference between a memory address and an input/output address in a
system based on the Intel 8086 microprocessor. [4 marks]

3. (a) Describe the operation of the Bus Interface Unit (BIU) and the Execution Unit (EU) in
the 8086 microprocessor. [5 marks]
(b) For the 8086 microprocessor, detail the steps in the Fetch/Execute cycle for the
instruction:
MOV AX, 0005H
http://www.electronics.dit.ie/staff/tscarff/questions/ft221_3/ft221_3_2003_4_summer.htm

1/2

7/7/2015

FT281

Assume the Instruction Pointer is initially at address E000H. [8 marks]


(c) For the 8086 microprocessor give examples of seven different types of addressing modes.
Assume BX = 00300H, SI = 00200H, ARRAY = 01000H and DS = 01000H. [7 marks]

4. (a) Draw a block diagram detailing the internal configuration for the 8086 microprocessor
and explain the operation of the flags in the Flag Register. [8 marks]
(b) Explain how memory segments are addressed using the segment registers in the 8086
microprocessor. Calculate the effective physical data address if the DS and SI registers
contain 1230h and 0045h respectively. [6 marks]
(c) List the sequence of events that occur, in the 8086 microprocessor, when a hardware
interrupt and interrupt return occur. [6 marks]

http://www.electronics.dit.ie/staff/tscarff/questions/ft221_3/ft221_3_2003_4_summer.htm

2/2

S-ar putea să vă placă și