



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!




Autumn Examinations 2011/
Module Code: ELTR
School: Mechanical, Electrical and Process Engineering
Programme Title: Bachelor of Engineering in Electronic Engineering
Programme Code(s): EELXE_7_Y EELES_8_Y
External Examiner(s): Dr A Donnellan
Mr I Kennedy
Internal Examiner(s): Mr J O’Sullivan
Instructions: Attempt any three questions. All questions carry equal marks. Ensure you include the Return Sheet with your answer book.
Duration: Two hours
Sitting: Autumn 2012
Requirements for this examination: N/A
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
You are expected to present your material in a neat and tidy fashion. Start each question on a new page. Remember that there is plenty of time – two hours for three questions.
Q1 (a) Draw a block diagram of an overall microcomputer and state the function of each block. Be sure to include the two fundamental control lines, Clock and Reset and state the role that each plays in the operation of the system. [4 marks]
(b) Microcomputers can be used either as general purpose personal computers or as embedded microcontrollers. Explain the difference between these two applications and outline the implications for memory and input/output devices. [4 marks]
(c) State the number of bits in a nibble, in a byte, in a word and in a long word. Table 1 shows a memory printout from the Flight-68K system – write down the following information from the table: i) the word at $40050A ii) the long word at $ iii) the byte at $40050D How would you describe the byte at $40050D in terms of nibbles?
Table 1 [5 marks]
(d) What range of values can be represented by 8-bit two’s complement numbers? Determine the result if the 8-bit two’s complement numbers; 5A and 6E are added together - comment on the result in relation to the 8-bit number range. [4 marks]
(e) In relation to machine instructions, what is meant by the term addressing mode? Using two separate instructions give examples of four different 68000 addressing modes - identify each addressing mode used. [3 marks]
Q2 (a) Draw a block diagram showing the internal structure of the MC68000 MPU and expand any abbreviations that you may have used in your diagram. [6 marks]
(b) MPUs are often classified by bit size, e.g. an 8-bit or a 16-bit or a 32-bit device. How would you classify the MC68000 MPU? – justify your answer. [3 marks]
(c) Examine the following line of code and explain in simple language what the associated instruction does. Identify each item of information in the printout and draw a sketch to show how this instruction would be stored in memory. 00400400 D07900400500 ADD.W $400500,D0 [5 marks]
(d) Making reference to your block diagram in (a), describe in broad outline how the MC68000 will fetch and execute this instruction. [6 marks]