0% found this document useful (0 votes)
171 views2 pages

COAL Assignment-1

goodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgood

Uploaded by

Google User
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views2 pages

COAL Assignment-1

goodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgood

Uploaded by

Google User
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

National University of Computer & Emerging Sciences, Karachi

Fall-2020 CS-Department
Assignment No. 01
24 February 2021
Course Code: EE-229 Course Name: Computer Organization & Assembly Language
Instructor Name / Names: Ms. Atiya Jokhio
Instructions:
 Attempt all the questions
 Don’t share your work, if your submission is matched to any member of your class, both will
be marked 0 straight without asking who shared or who magically copied.
 You have to submit in Hard copy in the class timing on Monday i.e. 1st March,2021
 No late submissions will be accepted.
Max Marks: 40 Points

Question: 1 Write brief reason for following statements


a. Why does memory access take more machine cycles than register access?
b. ALU is the place where the actual executions of instructions take place during
the processing operation. [ 5 points]

Question: 2
Consider a machine language instruction that moves a copy of the contents of register
AX in the CPU to a memory word. What happens during [ 5 points]
a. the fetch cycle?
b. the execute cycle?

Question: 3
Explain the hierarchy of basic program execution registers in your own words.
[ 5 points]

Note: Solve Q#4 to Q#8 and show all process of solving of binary conversion and
all, in Assignment copy. (Answer will not be considered without solution)

Question: 4
Suppose AX contains 5ABCh and BX contains 21FCh.
Find the difference of AX minus BX by using complementation and addition.
[ 5 points]

Question: 5
What is the decimal representation of each of the following signed binary numbers?
a.10000000
b.1011011 [ 5 points]

1
Question: 6
What is the sum of each pair of hexadecimal integers? Convert it in binary and then
solve it.
a. 6B4 + 3FE
b. A49 + 6BD

Question: 7
What is the 8-bit binary (two’s-complement) representation of each of the following
signed decimal integers?
a. -72
b. -98

Question: 8
Perform the following subtraction.
a. 5FC12h – 3ABD1h
b. F001Eh – 1FF3Fh

You might also like