100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS2621 ASSIGNMENT 2 SOLUTIONS 2023 WITH OPTION TO CHOOSE SOLUTIONS R301,00   Add to cart

Exam (elaborations)

COS2621 ASSIGNMENT 2 SOLUTIONS 2023 WITH OPTION TO CHOOSE SOLUTIONS

 4 views  0 purchase

COS2621 ASSIGNMENT 2 SOLUTIONS 2023 WITH OPTION TO CHOOSE SOLUTIONS

Preview 2 out of 14  pages

  • August 31, 2023
  • 14
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
All documents for this subject (15)
avatar-seller
hiltontutorials
COS2621 ASSIGNMENT 2 SOLUTIONS 2023
QUESTION 1
(a) The following table reflects the memory contents of a part of memory in a oneaddress machine with an
accumulato




What values do the following instructions load into the accumulator? LOAD DIRECT 300 LOAD DIRECT 320
LOAD INDIRECT 325
SOLUTIONS
LOAD DIRECT 300: Load direct means that the instruction contains the address of
the operand: The value 325 is stored in address 300, so the value 325 will be stored
in 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.
(b) Give examples of x86 instructions in which the following addressing modes are used: Immediate
addressing Direct addressing Stack addressing Indexed addressing Base-addressing Register indirect
addressing
SOLUTIONS




QUESTION 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 hiltontutorials. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

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

Start selling
R301,00
  • (0)
  Buy now