Docsity

System Bus - Microprocessor Systems - Exam, Exams of Microprocessors

Toggle sidebar
bg1
CORK INSTITUTE OF TECHNOLOGY
INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ
Semester 1 Examinations 2011/12
Module Title: Microprocessor Systems 1
Module Code: ELTR6016
School: Electrical and Electronic Engineering
Programme Title: Bachelor of Engineering in Electronic Engineering
Programme Code(s): EELXE_7_Y2
EELES_8_Y2
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: Winter 2011
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.
pf3
pf4
pf5

Partial preview of the text

Download System Bus - Microprocessor Systems - Exam and more Exams Microprocessors in PDF only on Docsity!

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Semester 1 Examinations 2011/

Module Title: Microprocessor Systems 1

Module Code: ELTR

School: Electrical and Electronic 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: Winter 2011

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) List the main parts of an overall microcomputer. What is meant by the term system bus and state the function performed by the system bus in a computer? What characteristic of a computer is determined by the size of the address bus? [4 marks]

(b) Table 1 below shows a memory printout as seen on the Flight-68K system. On your answer book rewrite this printout when the four instructions below have all been executed: i) MOVE.W #$ABCD,$ ii) MOVE.B #$EF,$40050B iii) MOVE.L #$456789,$ iv) MOVE.B #25,$40050E [4 marks]

Table 1

(c) In each case below, describe briefly the difference between the two similar looking instructions: i) MOVE.W #400500,D MOVE.W $400500,D ii) MOVE.W A0,D MOVE.W (A0),D0 [4 marks]

(d) What is the difference between signed and unsigned binary numbers? Why is the two’s complement method used to represent signed binary numbers? Rank in order of magnitude the following 8-bit two’s complement values: F2 5E 9D 00 1C B How does a computer distinguish between signed and unsigned numbers? [5 marks]

(e) In relation to machine instructions, what is meant by the term addressing mode? Identify all addressing modes used in the following two instructions: MOVE.W D0,$ MOVE.W #4321,-(A0) [3 marks]

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Semester 1 Examinations 2011/

Module Title: Microprocessor Systems 1

RETURN SHEET

Initial MPU Values

D0: 56789ABC D1: 56789ABC D2: 56789ABC D3: 56789ABC

Instruction Result Flags

MOVE.L #$CBA98765,D0 D0:

X: 1 N: 1 Z: 1 V: 1 C: 1

X: N: Z: V: C:

ADD.W #$D72B,D1 (^) D1: X:^ N:^ Z:^ V:^ C:

CMP.B #$BC,D2 D2: X:^ N:^ Z:^ V:^ C:

D4: 56789ABC D5: 56789ABC D6: 56789ABC D7: 56789ABC

Trace Table

Name: Return this sheet with your answer book