100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS2621 Assignment 2 2022 Solution R200,00   Add to cart

Other

COS2621 Assignment 2 2022 Solution

 63 views  2 purchases

Solutions to the Assignment for COS2621. Assembly code included in the document.

Preview 2 out of 7  pages

  • August 8, 2022
  • 7
  • 2022/2023
  • Other
  • Unknown
book image

Book Title:

Author(s):

  • Edition:
  • ISBN:
  • Edition:
All documents for this subject (34)
avatar-seller
StudyWellNotes
COS2621 – COMPUTER ORGANIZATION
ASSIGNMENT 2 SOLUTIONS
2022

, Discussion of assignment 02


All the questions were not marked in detail. You received credit for the questions for which you
submitted a reasonable effort.

Question 1

(a) The following table reflects the memory contents of a part of memory in a one-
address machine with an accumulator:



Address Contents

300 320

305 310

310 310

315 325

320 305

325 300



What values do the following instructions load into the accumulator?

LOAD IMMEDIATE 300: Load immediate means that the operand is part of the
instruction. The value 300 will be loaded into the accumulator.

LOAD DIRECT 320: Load direct means that the instruction contains the address of the
operand: The value 300 is stored in address 320, so the value 300 will be stored in the
accumulator.

LOAD INDIRECT 325: Load indirect means that the address that contains the address of the
Operand forms part of the instruction. Therefore, address 325 contains the address of the
operand, ie the address of the operand is 300. Address 300 contains 320, thus the value
320 will be stored in the accumulator.




2

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

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 this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller StudyWellNotes. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R200,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R200,00  2x  sold
  • (0)
  Buy now