Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Other

COS2621 Assignment 2 2022 Solution

Rating
-
Sold
2
Pages
7
Uploaded on
08-08-2022
Written in
2022/2023

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

Content preview

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

Document information

Uploaded on
August 8, 2022
Number of pages
7
Written in
2022/2023
Type
OTHER
Person
Unknown
R200,00
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StudyWellNotes University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
42
Member since
5 year
Number of followers
31
Documents
0
Last sold
2 months ago
StudyWell

Student Resources for Unisa Students.

5,0

1 reviews

5
1
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions