Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8086 microprocrssor Procedure: 1- Open the link, then wait until all the previous command is listed. 2. Make sure that the cursor is blinking in

8086 microprocrssor
image text in transcribed
Procedure: 1- Open the link, then wait until all the previous command is listed. 2. Make sure that the cursor is blinking in an empty line in the command window. 3. In the command window, write the question mark character "?" then press enter, then the list of all commands will be shown. 4. Start with the Register command by writing " r " then press enter, then all CPU registers will be shown. 5. Let's use the register AX : in the command window chose a new line and enter the following command: r ax 6. The debugger will show the following: AX 0000 : 7. After the semicolon write ABCD then press enter. 8. To review little Endian, execute the following code into the machine by assembling an instruction as follow: a cs : 100 which is the current IP address then press enter. 9. Move the content of register AX to byte 0 in the data segment using the following code : Move [0], ax then press enter. 10- The new line will show the new IP address 0103 which means the instruction used 3 bytes to encode the instruction. 11- Execute the instruction by writing the following command: t, then the registers will be shown with the new IP address and the register AX will be unchanged since the change to the data segment. 12- Show the data segment using the command: d ds:0000. 13- Make sure that the data segment at offset 0 as follow: CDAB

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions