100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COS2621 Assignment 1 2022

Rating
-
Sold
5
Pages
5
Grade
A+
Uploaded on
27-07-2022
Written in
2021/2022

COS2621 Assignment 1 of 2022 Solutions, For more

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
July 27, 2022
Number of pages
5
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

For Assistance with other modules
Call or Whatsapp +27682021794
www.myassignments.co.za




COS2621
Assignment 01
Semester 02
2022

Due date
Sunday, 31 July 2022, 8:00 PM
UNIQUE NUMBER: 830821

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

Address Contents

00 20

20 30

30 40

40 50

50 60

60 70


What values do the following instructions load into the accumulator?



LOAD IMMEDIATE 20: Immediate addressing. The value to be used forms part of the instruction. In this
instance, the value 20 will be loaded into the accumulator.


LOAD DIRECT 20: Direct addressing. The instruction contains the address where the value is to found.
Address 20 contains the value 30, thus the value 30 will be loaded into the accumulator.


LOAD INDIRECT 20: Indirect addressing. The instruction contains the address where the address of the value
to be used, is to be found. Address 20 contains the address of the value to be used, ie address 30. Address 30
contains 40, thus the value 40 will be loaded into the accumulator.


(b) Give examples of Intel x86 instructions in which the following addressing modes are
used:




2

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.
MyAssignments My Assignments
Follow You need to be logged in order to follow users or courses
Sold
171
Member since
4 year
Number of followers
144
Documents
38
Last sold
4 months ago
My Assignments

3.8

21 reviews

5
11
4
3
3
2
2
1
1
4

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions