Enter D Command To Display The Memory Contents of Your System and Answer The Following

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

TASK#01:

Enter D command to display the memory contents of your system and answer the following:

What is the Code segment address?


Code Segment Address:
06B0
What is the content of offset 013Ah?
Content Of Offset 013Ah:
00
What is the physical address of the memory location given in above part?
Physical Address:
→ CS*10h+Offset
→06B0*10h+013Ah
→06B00+013A
→ Physical Address=06C3A

TASK#02:
Do the following and capture each screen shot using print screen option.
a) Use D command to display the contents of memory from CS:0500 to CS:057F
Command:
-d 0500

Made By: Mohib Uddin


b) Use D command to display the contents of memory from 2000:0A20. Also determine what is the
final offset address after using D command?

Command: -d 2000:0A20

Final Offset: 0A29F

c) What is the physical address of the memory location 3FCE:0105?

Physical Address:
CS: 3FCE
Offset: 0105
P. A=Cs*10+Offset
3FCE*10+0105
3FCE0+0105
Physical Address→ 3FDE5

Made By: Mohib Uddin


TASK#03:
Use E command to change the contents of memory locations from the code segment, for offsets from
0700 to 0709 to have ASCII contents from 0 to 9.

TASK#04:
Do the following using Memory management commands and capture each screen using print screen
option.

a) Display the memory contents starting from memory location 0100h

b) Display the memory contents of first 10 bytes starting from memory location 0100h

c) Fill the memory location starting from 0200h with your name and 3-digit Roll #

d) Note the last offset (memory) value of the last digit of your roll #
Offset Value: 0208

Made By: Mohib Uddin


e) Move the block of memory where you filled your name and Roll # to the memory location
starting from 0400h

Command: -m 200 l9 400

f) Compare the two memory blocks (one starting from 0200h & the other from 0400h)

Contents Of Both Memory Blocks Are The Same!


g) Edit 20XX-CS- to the memory block starting from 0400h before your Roll #

h) Compare the two memory blocks (one starting from 0200h & the other from 0400h)
Comparison To First 9 Offsets:

Made By: Mohib Uddin

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy