0% found this document useful (0 votes)
23 views5 pages

COAL Lab 1

Uploaded by

dddsasda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views5 pages

COAL Lab 1

Uploaded by

dddsasda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Lab 1

2023F-BCS-264

Lab Exercise
1-Enter D command to display memory contents of your system and answer the
following:
Entering and exiting from DEBUG:

Now,

- What is the Code segment address?

The code segment (CS) address is the memory location where


a program's executable instructions are stored.

- What is the content of offset of 011Ch?

- What is the physical address of the memory location given in the above part?
Lab 1
2023F-BCS-264

2- Do the following and capture each screen shot using print screen option.
- Use D command to display the contents of memory from CS:0500 to CS:055F

- Use D command to display the contents of memory from 2000:0A20. Also


determine what is the final offset address after using D command?

The final offset address is 0A9F

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


Lab 1
2023F-BCS-264

3- 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.

4- Do the following using Memory management commands and capture each


screen using print screen option.
- Display the memory contents starting from memory location 0100h?

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

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

- Note the last offset (memory) value of the last digit of your roll#
The last offset (memory) value of the last digit of my roll# is
34h.
Lab 1
2023F-BCS-264

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

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

- Edit 20XX-CS-to the memory block starting from 0400h before


your Roll#

- Compare the two memory blocks (one starting from 0200h &
the other from 0400h)
Lab 1
2023F-BCS-264

You might also like