Microprocessor Architecture - Introduction to Microprocessor Architecture - Exam Paper, Exams of Computer Science

These are the Exam Paper of Introduction to Microprocessor Architecture which includes Execute Cycle, Program Executes, Based Microprocessor, Assembly Language, Language Program, Pseudo Code, Absolute Addressing, Address Register, Indirect Address etc. Key important points are: Microprocessor Architecture, System Bus, Internal Registers, Addressing Modes, Data Register, Register Addressing, Indirect Address, Maximum Value, Assembly Language, Language Program

Typology: Exams

2012/2013

Uploaded on 03/25/2013

digvastra
digvastra 🇮🇳

3.8

(36)

186 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Page 1 of 4
CORK INSTITUTE OF TECHNOLOGY
INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ
Semester 2 Examinations 2007/08
Module Title: Microprocessor Architecture
Module Code: COMH 6004
School: School of Mathematics and Computing
Programme Title:
Bachelor of Science (Honours) in Software Development - Stage 1
HigherCertificate in Science in Computing in Information Technology Support – Stage 1
Programme Code: KSDEV_8_Y1
KITSU_6_Y1
External Examiner(s): Dr. Mel O Cinneide and Mr. Martin Donnelly
Internal Examiner(s): Mr. Seamus Lankford
Instructions: Answer Question 1 and TWO other questions.
Duration: 2 Hours
Sitting: Summer 2008
Requirements for this examination:
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.
pf3
pf4

Partial preview of the text

Download Microprocessor Architecture - Introduction to Microprocessor Architecture - Exam Paper and more Exams Computer Science in PDF only on Docsity!

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Semester 2 Examinations 2007/

Module Title: Microprocessor Architecture

Module Code: COMH 6004

School: School of Mathematics and Computing

Programme Title: Bachelor of Science (Honours) in Software Development - Stage 1 HigherCertificate in Science in Computing in Information Technology Support – Stage 1

Programme Code: KSDEV_8_Y KITSU_6_Y

External Examiner(s): Dr. Mel O Cinneide and Mr. Martin Donnelly Internal Examiner(s): Mr. Seamus Lankford

Instructions: Answer Question 1 and TWO other questions.

Duration: 2 Hours

Sitting: Summer 2008

Requirements for this examination:

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.

Q1.

a) Describe, with the aid of a diagram, the architecture of a 68000-based microcomputer system (Von Neumann architecture). Show the internal registers and components of a CPU, the system bus and the organisation of memory and Input/Output peripheral devices. [8 marks] b) What is stored in D5 after this program executes? D5 initially contains C89. AND.B #$2C,D ORI.B #$C5,D EOR.L #$CDE,D NOT.W D [8 marks] c) What is wrong with each of the following 68000 assembly language operations? i. CMP.L D0,# ii. MOVE.B #500,D iii. MOVE $4000,A iv. ADD.W (A2)-,D3 [8 marks]

d) Write a 68000 assembly language program that implements the following algorithm:

D3 = 0; D4 = 5; While (D3 < D4) { D3 = D3 + 1; } [8 marks]

e) Briefly describe the function of the following in the 68000 microprocessor: i) PC ii) IR iii) SR iv) DO [8 marks]

[10 marks]

(b) Briefly explain what effect the following code samples have on the stack and the destination operands:

i) LEA $2000,A ii) MOVE.L (A7)+,D iii) RTS [10 marks]

(c) Briefly explain the following methods of passing parameters to a subroutine. Outline the advantages and disadvantages of each method and use simple code examples where appropriate.

i) Passing parameters via registers ii) Passing parameters by value [10 marks]

[30 marks] Q (a) Describe what is meant by the system bus. What are its components? [6 marks]

(b) Describe, briefly, the function of the following in the 68000 microprocessor: i. A ii. Control Unit iii. ALU [9 marks]

(c) Write a 68000 assembly language program, which calculates the average of 10 numbers stored in the array, MYNUMS. The result, i.e. the average of the numbers, should be stored in register D0. Define your array to hold 10 numbers. Use some form of indirect addressing to access the elements within the array. [15 marks] [30 marks]