Pg. 04 College of Computing and Informatics Assignment 3 Deadline: Tuesday 17/11/2021

Pg. 04

College of Computing and Informatics

Assignment 3

Deadline: Tuesday 17/11/2021 @ 23:59

[Total Marks for this Assignment are 5]

`

Assignment 3

Deadline: Tuesday 17/11/2021 @ 23:59

[Total Marks for this Assignment are 5]

`

Computer Organization

IT233

Computer Organization

IT233

Instructions:

You must submit two separate copies (one Word file and one PDF file)using the Assignment Template on Blackboard via the allocated folder. These files must not be in compressed format.

It is your responsibility to check and make sure that you have uploaded both the correct files.

Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between words, hide characters, use different character sets or languages other than English or any kind of manipulation).

Email submission will not be accepted.

You are advised to make your work clear and well-presented. This includes filling your information on the cover page.

You must use this template, failing which will result in zero mark.

You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.

Late submission will result in ZERO mark.

The work should be your own, copying from students or other resources will result in ZERO mark.

Use Times New Roman font for all your answers.

Instructions:

You must submit two separate copies (one Word file and one PDF file)using the Assignment Template on Blackboard via the allocated folder. These files must not be in compressed format.

It is your responsibility to check and make sure that you have uploaded both the correct files.

Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between words, hide characters, use different character sets or languages other than English or any kind of manipulation).

Email submission will not be accepted.

You are advised to make your work clear and well-presented. This includes filling your information on the cover page.

You must use this template, failing which will result in zero mark.

You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.

Late submission will result in ZERO mark.

The work should be your own, copying from students or other resources will result in ZERO mark.

Use Times New Roman font for all your answers.

Student Details:

Name:

CRN:

ID:

Student Details:

Name:

CRN:

ID:

1 Mark

1 Mark

Learning Outcome(s):

Describe the structure of computer systems

Learning Outcome(s):

Describe the structure of computer systems

Question One

Explain the difference between SHIFT and ROTATE instructions with Example?

1 Mark

1 Mark

Learning Outcome(s):

Describe the structure of computer systems.

Learning Outcome(s):

Describe the structure of computer systems.

Question Two

Registers perform a very important role in the fetch-execute cycle. What is the function of registers in the fetch-execute instruction cycle?

1 Mark

1 Mark

Learning Outcome(s):

Explain various machine language concepts.

Learning Outcome(s):

Explain various machine language concepts.

Question Three

Discuss the difference between CISC and RISC Instruction set Architectures with Example?

Learning Outcome(s):

Develop assembly language programs

Learning Outcome(s):

Develop assembly language programs

2 Marks

2 MarksQuestion Four

Write LMC program for the addition of two Numbers?

HINT: Num1 = 38 and Num2 = 48

Mnemonic

Name

Description

Op Code

INP

INPUT

Retrieve user input and stores it in the accumulator.

901

OUT

OUTPUT

Output the value stored in the accumulator.

902

LDA

LOAD

Load the Accumulator with the contents of the memory address given.

5xx

STA

STORE

Store the value in the Accumulator in the memory address given.

3xx

ADD

ADD

Add the contents of the memory address to the Accumulator

1xx

HLT

HALT

Stop the code

000

DAT

DATA LOCATION

Used to associate a label to a free memory address. An optional value can also be used to be stored at the memory address.