or using assembly language 8086 I already have the solution but i don't understand how it works please can you describe
or using assembly language 8086 I already have the solution but i don't understand how it works please can you describe
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
This is microprocessor using assembly language 8086
I already have the solution but i don't understand how it works please can you describe to me step by step
![AX
BX
CX
DX
BX+DI
DS
АН
AL
BH
BL
CH
CL
DH
DL
1000
MOV DS, 2000H
MOV DX, [0050H]
MOV CX,(0052H]
ADD DX,CX
1
00
03
***1
3
00
FB
***2
4
00
FE
MOV BX,DX
MOV AL,00
MOV DS,3000H
C: ADD AL,[BX + DI]
00
FE
6.
00
7
8
01
100
***3
9.
INC BX
00 FF
10
INC CL
FC
11
JNZ C
12
04
101
***4
13
*** Physical
01
00
14
Addresses:
FD
15
1000:0050
09
102
***5
16
10000+50
01
01
17
10050
FE
18
2
10052
10
103
***6
19
01
02
20
3
10100
FF
21
4
10101
19
104
***7
22
5
10102
01
03
23
6.
10103
00
24
10104
Illegal](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc9584481-8eb4-45ca-8b79-a06d198e9560%2F93669b45-0e21-4bb9-96a8-d3d953b7300e%2Fgo60cm_processed.jpeg&w=3840&q=75)
Transcribed Image Text:AX
BX
CX
DX
BX+DI
DS
АН
AL
BH
BL
CH
CL
DH
DL
1000
MOV DS, 2000H
MOV DX, [0050H]
MOV CX,(0052H]
ADD DX,CX
1
00
03
***1
3
00
FB
***2
4
00
FE
MOV BX,DX
MOV AL,00
MOV DS,3000H
C: ADD AL,[BX + DI]
00
FE
6.
00
7
8
01
100
***3
9.
INC BX
00 FF
10
INC CL
FC
11
JNZ C
12
04
101
***4
13
*** Physical
01
00
14
Addresses:
FD
15
1000:0050
09
102
***5
16
10000+50
01
01
17
10050
FE
18
2
10052
10
103
***6
19
01
02
20
3
10100
FF
21
4
10101
19
104
***7
22
5
10102
01
03
23
6.
10103
00
24
10104
Illegal
![1. Interpret and execute the instructions and write down the program's outcomes
Main
Memory
a. Assume the DI = 0002H and DS = 1000H when you access the memory, fill the effected registers after execution
of each instruction and state the main goal of the program piven below
30109 37
30108 22
15
30106 OD
08
05
Y
개
30107
30105
30104
30103
03
AX
BX
CX
DX
BX+DI
DS
30102
02
30101 01
30100 01
AH AL
BH
BL
CH CL
CL
DH
DL
1000
MOV DS,2000H
20109
12
2
***1
MOV DX,(0050H)
MOV CX,[0052H]
00
03
00 FB
00
20108 10
20107 DE
20106 OC
3
***2
4
ADD DX,CX
FE
5
MOV BX,DX
00
FE
20105
OA
20104
08
06
20102 04
20101 02
20100 00
6.
MOV AL,00
00
20103
MOV DS,3000H
C: ADD AL,[Bx + DI]
8
9
10
11
12
01
100
***3
INC BX
00
FF
INC CL
FC
UNZ C
20059
00
03
20057 Os
20056 07
04
101
***4
20058
13
**Physical
01
00
14
Addresses:
FD
20055
09
15
1000:0050
09
102
20054
OB
16
10000+50
01
01
20053 OD
17
1
10050
FE
20052
OF
18
2
10052
10
103
***6
20051
11
19
01
02
20050 13
20
10100
FF
21
4.
10101
19
104
10109
13
10108
11
OF
10106 OD
10105 08
22
10102
01
03
10107
23
6.
10103
00
24
7.
10104
OB](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc9584481-8eb4-45ca-8b79-a06d198e9560%2F93669b45-0e21-4bb9-96a8-d3d953b7300e%2F9l0ex6s_processed.jpeg&w=3840&q=75)
Transcribed Image Text:1. Interpret and execute the instructions and write down the program's outcomes
Main
Memory
a. Assume the DI = 0002H and DS = 1000H when you access the memory, fill the effected registers after execution
of each instruction and state the main goal of the program piven below
30109 37
30108 22
15
30106 OD
08
05
Y
개
30107
30105
30104
30103
03
AX
BX
CX
DX
BX+DI
DS
30102
02
30101 01
30100 01
AH AL
BH
BL
CH CL
CL
DH
DL
1000
MOV DS,2000H
20109
12
2
***1
MOV DX,(0050H)
MOV CX,[0052H]
00
03
00 FB
00
20108 10
20107 DE
20106 OC
3
***2
4
ADD DX,CX
FE
5
MOV BX,DX
00
FE
20105
OA
20104
08
06
20102 04
20101 02
20100 00
6.
MOV AL,00
00
20103
MOV DS,3000H
C: ADD AL,[Bx + DI]
8
9
10
11
12
01
100
***3
INC BX
00
FF
INC CL
FC
UNZ C
20059
00
03
20057 Os
20056 07
04
101
***4
20058
13
**Physical
01
00
14
Addresses:
FD
20055
09
15
1000:0050
09
102
20054
OB
16
10000+50
01
01
20053 OD
17
1
10050
FE
20052
OF
18
2
10052
10
103
***6
20051
11
19
01
02
20050 13
20
10100
FF
21
4.
10101
19
104
10109
13
10108
11
OF
10106 OD
10105 08
22
10102
01
03
10107
23
6.
10103
00
24
7.
10104
OB
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education