Microprocessor Lab Report

Anonymous
timer Asked: Jun 20th, 2018
account_balance_wallet $5

Question description

Lab 2: Advanced Debug Commands.

I only need screen shots for each step and a conclusion.

Please check the lab attached

Lab 2: Advanced Debug Commands Objective: • Data Manipulation in DEBUG • Manipulate the content of memory locations • Saving your work and loading your work Data Manipulation in DEBUG The following commands are used to examine or alter the contents of memory: F: the fill command fills a block of memory with data D: the dump command displays contents of memory to the screen E: the enter command examines/alters the contents of memory F (Fill) command: The fill command is used to fill an area of memory with data. The syntax of the F command is as follows: F F For example, the first command below would fill 16 bytes, from DS:150 to DS:15F with AS. The second command fills a 256-byte block of the code segment, from CS:100 to CS:1FF with AA and BB. The third command fills 32-bytes of memory with the given pattern of data F 150 15F A5 F CS: 100 1FF AA BB F 100 L20 01 02 03 04 Procedure: 1) Use a Fill command to clear all storage locations in the range of 1E00:0100 through 013F. Show the command below 2) Verify that this range of memory has been cleared by displaying storage locations (in the range of 1E00:0100 through 013F) with a DUMP command below. 3) Initialize the contents of those locations (in the range of 1E00:0100 through 013F) with 94, 95, and 96 then use D command to display them. Show the command and result. 4) Fill the storage locations from address 1E00:0100 through 013F with B8 value. Show the command below. 5) Verify the initialization of the Storage locations with a DUMP command and display the result below. E (Enter) command: The command can be used to enter numbers, characters, and string into designated memory locations. Store 12, 13, 14, 15, and 16 in the memory locations starting with address of 0AF0:0210 then use D command to display the result. Show the command and result. Enter your name with E command and show the command below then use the D command to display the result. Show the command and result. m (Move) command: The move command is used to copy data from one location to another. The original location will remain unchanged. The syntax of this command is M M Example: _ E 100 111111111111111 _ M 1001£ 120 _ D 100 0AED:0100 01 01 01 01 01 01 01 01-01 01 01 01 01 01 01 6E ………….n 0AED:0110 74 12 BO 2E AA AC 3C 3F-75 02 8A 07 34 00 DC 0A t …… C Example: _ C 140 145 150 0AF0:0140 4D 80 0AF0:0150 0AF0:0141 8B CA 0AF0:0151 0AF0:0142 56 20 OAFO:0152 0AF0:0143 05 80 0AF0:0153 0AF0:0144 80 EA 0AF0:0154 0AF0:0145 FA 60 0AF0:0155 _ D 140 0AF0:0140 4D 8 56 05 80 FA 00 74-05 80 FE 3A 74 02 B2 40 M.V....t...:t..@ 0AF0:0150 80 CA 20 80 EA 60 E8 74-E4 73 06 E8 7F DB E9 AD .. .. .t..s…. Compare the content of memory locations 210 through 217 with content of memory locations 310 through 317. Display and explain the result. S (Search) command: The search command is utilized to locate a block of data. S S Example: _ S 140 150 74 0AF0:0147 0AF0:014C Find any location(s) with the offset addresses of 165 through 16B which is holding FA data. Conclusion:

Tutor Answer

Upbeat_Strom
School: UC Berkeley

...

flag Report DMCA
Review

Anonymous
Totally impressed with results!! :-)

Similar Questions
Hot Questions
Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors