COS2621 Summary for Prescribed Book and NASM for DOS-Box
COS2621 Assignment 2 2022 Solution
COS2621 SUMMARY OF CHAPTERS 1-7,9-13 AND 15
All for this textbook (4)
Written for
University of South Africa (Unisa)
COS2621 - Computer Organisation (COS2621)
All documents for this subject (34)
1
review
By: Argilian • 5 year ago
Seller
Follow
hiltontutorials
Reviews received
Content preview
Contents
MAY JUNE 2016 EXAM PACK .................................................................................................................. 1
OCTOBER NOVEMBER 2016 .................................................................................................................. 10
MAY JUNE 2017..................................................................................................................................... 16
OCTOBER NOVEMBER 2017 .................................................................................................................. 25
OCTOBER NOVEMBER 2018 SECOND PAPER ........................................................................................ 36
MAY JUNE 2019 SOLUTIONS ................................................................................................................. 44
ADDITIONAL STUDY NOTES................................................................................................................... 53
MAY JUNE 2016 EXAM PACK
Question 1: General Knowledge [30]
a) Suppose a machine has 12 registers. How many bits must be reserved in the machine code
instruction order to address any of these twelve registers?
1. 20
2. 12
3. 8
4. 6
5. 4
b) Which number will be stored in the AX register if we key in the following instruction (exactly as it
is) and assemble it by using (i) NASM, and (ii) DEBUG?
mov ax, 0024
1. (i) AX = (0024)16 (ii) AX = (0024)16
2. (i) AX = (0024)10 (ii) AX = (0024)10
3. (i) AX = (0024)16 (ii) AX = (0024)10
4. (i) AX = (0024)10 (ii) AX = (0024)16
5. None of the above
c) Which one of the following instructions would you use if you want to branch to the label TEST if
the sign flag is set?
1. JN TEST
2. JZ TEST
3. JS TEST
4. JNS TEST
5. JNP TEST
d) A ____ contains electronics for exchanging data, control, and status signals with an I/O module
1
, plus the electronics for controlling the disk read/write mechanism.
1. flash drive
2. disk drive
3. CD drive
4. temporary memory
5. magnetic drive
e) The major functions or requirements for an I/O module fall into the following categories except
____.
1. error detection
2. processor communication
3. device communication
4. error control
5. data buffering
f) Two addresses are dedicated to keyboard input from a particular terminal. Address 516 refers to
the data register and address 517 refers to the ____.
1. memory
2. status register
3. isolated I/O
4. input register
5. output register
g) Which of the following are characteristics of Blu-ray DVDs?
a. It can store more than 20GB per side
b. It has slightly more storage density as normal DVDs
c. It uses a short wave-length 405nm laser
d. It uses a red-blue laser
e. There are two versions available: ready-only (BD-ROM) and recordable many (BD-M)
1. only a and c
2. only a, b and d
3. only a and e
4. a, b, c and d
5. only b and d
h) Suppose a machine has seven (7) general purpose 32-bit registers. How many bits must be
reserved to the machine code instruction in order to address any one of these seven registers?
1. 1
2. 2
3. 3
4. 4
5. 5
i) Calculate (3A69)16 + (B2E1)16
2
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller hiltontutorials. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $17.03. You're not tied to anything after your purchase.