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

Activity_AR101

Rating
-
Sold
-
Pages
10
Uploaded on
29-03-2023
Written in
2022/2023

It is a activity in Ar101.

Institution
Course

Content preview

AR101
INSTRUCTIONS:
Determine the contents of all affected general-purpose registers and flags after executing the following
program Code:

Note: Each instruction code is dependent in one another, so, whenever possible refer to the following register
contents listed and assume all flags are set initially to Zero (0).

AX 0015h BP 0002h CS 3000h
BX 0019h SP 0035h DS 2000h
CX 0012h DI 0017h SS 2000h
DX 001Bh SI 001Eh ES 4000h

SF=0 ZF=0 PF=0 CF=0 AF=0 OF=0


Assembly Code:

● ADD instructions

ADD AX, BX
ADD [SI], DX

ADD AX, BX

AX = 0015H = 0000 0000 0001 0101
BX = 0019H = 0000 0000 0001 1001
_______________________________
AX = 0000 0000 0010 1110

AX = 002E

ADD [SI], DX

[SI] = DSX10+SI
DX = 001BH

DSx10+SI
SI = 001EH




000 0010 0000 0000 0000 0000
0000 0000 0001 1110
____________________________
000 0010 0000 0000 0001 1110

SI = 02001EH

, SI = 000 0010 0000 0000 0001 1110
DX = 0000 0000 0001 1011
__________________________________
000 0010 0000 0000 0011 1001

SI = 020039

Written for

Course

Document information

Uploaded on
March 29, 2023
Number of pages
10
Written in
2022/2023
Type
OTHER
Person
Unknown

Subjects

$39.99
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
jstineesperoza

Get to know the seller

Seller avatar
jstineesperoza Kirei University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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

Working on your references?

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

Working on your references?

Frequently asked questions