



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




(NFQ - Level 7)
Answer two questions from each section. All questions carry equal marks.
Examiners: Mr. J. O’Driscoll Mr. F. O’Reilly Mr. J. Berry Dr. R. Ó Dubhghaill
Figure 1
If the initial values are as follows: D0 = $12340678 D1 = $00000006 D2 = $ SR = $0405 = 0000 0100 0000 0101 X NZVC What are the values of the affected registers and the SR at the end of the subroutine? [10 marks]
(b) In an assembly language source program, briefly explain the following terms: [6 marks] (i) symbol (ii) label (iii) EQU directive (c) The MC68000 handles the reset exception in a different way to that of all other exceptions. List the main differences between the two types. [3 marks] (d) Figure 2 shows a diagram of the MC68000 interrupt structure. (^) Describe how the microprocessor responds to the occurrence of an interrupt. [6 marks] List the sequence of steps that are executed by the microprocessor in servicing the interrupt. [4 marks]
(b) Derive and explain the following formula based on the Clock Speed and Time, which can be used to calculate the pre-load values for Timer1. How can this be changed to suit Timer2? [8 marks] Pre-load Value (Using Internal Clock)
= (^1000) (hex) − Time * FOSC Prescalar * 4
(c) Write a PIC assembly language program for the 16c74 micro-controller, which continually reads in an analogue voltage from 0 -> 5V on RA0 and outputs it in binary format on PORTB. [12 marks]
(b) Describe the structure and individual sections of a typical Serial Data Unit (SDU) as used in an Asynchronous Serial communication. For a serial communication needing to transmit 1600 bytes, with even parity, what is the overall SDU length and what bit rate per second would be needed if this quantity of data would need to be transmitted every two seconds. [8 marks]
(c) Show the wiring necessary for a RS-232C data cable to connect together two DTEs connected in a Null Modem mode. Show the different wiring options for Hardware, Software and No handshaking. [9 marks]
(b) With the aid of a diagram describe the layer model of Fibre Channel, explaining the function of each layer with examples. Describe three topologies for a fibre channel system. [10 marks]
(c) In the context of RAID systems, describe briefly the following, say what RAID level they correspond to and give any advantages/disadvantages: Disk Striping, Disk Mirroring and Independent Disks with Distributed Parity. [9 marks]
—oOo—