
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
![Q1. An executable file for a certain assembly language program has been
uploaded to memory via the debug utility as shown below.
C. Command Prompt - DEBUG PROG4.EXE
C:\TASM>DEBUG PROG4.EXE
Fu CS:10 29
ЭВАЗ :0010 B8АЗОВ
ØBA3:0013 8ED8
ØBA3:0015 B90500
MOU
MOU
MOU
MOU
MOU
ADD
INC
AX,ØBA3
DS,AX
CX,0005
BX,0000
AL,00
AL, [BX]
BX
CX
001D
(0005 ), AL
AH,4C
21
BBA3:0018 BBØ000
ØBA3:001B BØ00
ØBA3:001D 0207
ØBA3:001F
43
ØBA3:0020 49
ØBA3:0021 75FA
ØBA3:0023 A20500
ØBA3:0026 B44C
ØBA3:0028 CD21
DEC
JNZ
MOU
MOU
INT
1- Write the necessary debug command to run this program.
2- Write the necessary debug command to display the data locations in the
data segment of the memory. How many memory locations are stored in
the data segment?](https://content.bartleby.com/qna-images/question/25260164-a1ce-4b78-b6c8-0483c9ed0db9/37a48a40-a6cc-4e46-8e8d-e09645b1854d/jjwaez_thumbnail.jpeg)
Transcribed Image Text:Q1. An executable file for a certain assembly language program has been
uploaded to memory via the debug utility as shown below.
C. Command Prompt - DEBUG PROG4.EXE
C:\TASM>DEBUG PROG4.EXE
Fu CS:10 29
ЭВАЗ :0010 B8АЗОВ
ØBA3:0013 8ED8
ØBA3:0015 B90500
MOU
MOU
MOU
MOU
MOU
ADD
INC
AX,ØBA3
DS,AX
CX,0005
BX,0000
AL,00
AL, [BX]
BX
CX
001D
(0005 ), AL
AH,4C
21
BBA3:0018 BBØ000
ØBA3:001B BØ00
ØBA3:001D 0207
ØBA3:001F
43
ØBA3:0020 49
ØBA3:0021 75FA
ØBA3:0023 A20500
ØBA3:0026 B44C
ØBA3:0028 CD21
DEC
JNZ
MOU
MOU
INT
1- Write the necessary debug command to run this program.
2- Write the necessary debug command to display the data locations in the
data segment of the memory. How many memory locations are stored in
the data segment?
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps

Knowledge Booster
Similar questions
- Attach File Browse My Computer QUESTION 6 A. Simplify the following expression by using the laws of logic. Suppose the bit strings of A & B are A: 0100001010, B: 0100111011. Find the bit strings of ANB AUB Attach File Browse My Computer BAAAarrow_forwardMy assembly code is having an error in Jdoddle's online assembly compiler. Please tell me whats wrong so I can keep that in mind. Thanks!---- global _mainextern _printfextern _scanf section .data message1 db "Enter first number: ", 0message message2 db "Enter second number:", formatIn db '%d', 0 formatOut db '%d', 10, 0 show db "Sum: ", 0 section .bss firstInt resb 4 secondInt resb 4 section .text_main: push message1 call _printf pop eax push firstInt push formatIn call _scanf pop eax pop eax push message2 call _printf pop eax push secondInt push formatIn call _scanf pop eax pop eax push show call _printf pop eax mov ebx, dword [firstInt] mov ebx, dword [secondInt] add ebx, ecx, push ebx push formatOut call _printfarrow_forwardfari M File V Edit BDAN 410: DSS Analysis and Design home > 2.9: Math module @ho Bookmarks Window Help Sample output with inputs: 1.0 2.0 1.0 5.0 Points distance: 3.0 Run Assign point_dist with the distance between point (x1, y1) and point (x2, y2). The calculation is: Distance = SquareRootOf( (x2-x1)² + (y2-y1)²). 401922.2754096.qx3zqy7 F2 2.9.3: Using math functions to calculate the distance between two points 1 import math 2 3 x1 = float(input()) 4 yl float(input()) 5 x2 = float(input()) 6 y2 float(input()) 7 8 Your solution goes here ''' 9 10 print('Points distance:', point_dist) = = 85 AUG 31 DU learn.zybooks.com F3 zy Section 2.9 - BDAN 410: DSS Analysis and Design 000 000 OOO THI I EzyBooks cat JINA A◄ DIIarrow_forward
- 1) What value will RAX contain after the following instructions execute? .data dwordval DWORD 84326732h .code mov xax, OFFFFFFFF00000000h mov edx dwordvalarrow_forwardC Using Pre x O Programn x С Create A C х c Create A ( X b Answered x A MAN 200 E Managen x O Organizat x O Organizat x O Mail - CH O File | /home/chronos/u-9fc763568ce5f82c2f06e33f52ce53e32aecca1e/MyFiles/Downloads/Programming%20lnstructions%20_Dr%20Castillo_curr(2)%2. Q Programming Instructions _Dr Castillo_curr(2) (1).pdf 45/ 53 UNIT B: C++ 2. Using Predefined functions, write a C++ program GEOMETRY to: a) Calculate the volume of a sphere is the radius r is known b) Calculate the distance between 2 points if the coordinates are known c) Determine the amount of characters in a string b) Calculate the distance between 2 points if coordinates a) Calculate the volume when radius are known is known (x1,v1) (x2 – x1)^2+ (y2 – y1)^2- distance V = (4/3) * TT*r х (x2,v2) c) Calculate the number of characters, including blanks, in "Programming with C++" SAMPLE 1 Please enter a phrase or sentence, you may include spaces : Programming with C++ 2:22arrow_forwardCommand line arguments are passed to int main(int argc, char** argv) as arguments argc and argv. You should assume that argc is at ebp+8 and argv is at ebp+12. 00000000 <what>: 0: push %ebp 1: mov %esp,%ebp 3: sub $0x10,%esp 6: mov 0x8(%ebp),%eax 9: add $0x4,%eax c: mov %eax,-0x4(%ebp) f: mov 0x8(%ebp),%eax 12: imul 0xc(%ebp),%eax 16: mov %eax,-0x8(%ebp) 19: mov 0x8(%ebp),%eax 1c: sub 0xc(%ebp),%eax 1f: mov %eax,-0xc(%ebp) 22: mov -0x4(%ebp),%edx 25: mov -0x8(%ebp),%eax 28: add %eax,%edx 2a: mov -0xc(%ebp),%eax 2d: add %edx,%eax 2f: leave 30: ret00000031 <main>: 31: lea 0x4(%esp),%ecx 35: and $0xfffffff0,%esp 38: pushl -0x4(%ecx) 3b: push %ebp 3c: mov %esp,%ebp 3e: push %ebx 3f: push %ecx 40: sub $0x10,%esp 43: mov %ecx,%ebx 45: mov 0x4(%ebx),%eax 48: add $0x4,%eax 4b: mov (%eax),%eax 4d: sub…arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY