Question

In: Computer Science

1) Draw a diagram showing the relationship of the EDX, DX, DL and DH registers. Page...

1) Draw a diagram showing the relationship of the EDX, DX, DL and DH registers. Page 29 shows EAX that you can follow as a template.

2) What does the program counter (EIP register in 80x86) point to?

Solutions

Expert Solution

1) Relationship of register EDX,DX,DH and DL

Register EDX is a 32 bit General Purpose Register. This is also called as Data Register and it is used for I/O port access,arithmetic and Interrupt processes.

As the diagram shows,

a) it can be used as one 32 bit register named EDX (Extended DX)while you deal with 32 bit data as follows

MOV EDX, 12141618h //12141618h is a 32 bit long hexadecimal value

or

b) the lower 16 bits of this register named as DX and can be used as a 16 bit register while you deal with 16 bit data as follows

MOV DX,1214h //1214h is a 16 bit long hexadecimal data and that will be loaded into register DX

or

c) the lower 16 bits of this register can again be splitted into two 8 bit registers named DH and DL(where H indicates Higher and L indicates Lower) while you deal with 8 bit data.

But please remember we cannot use all these registers at the same time because it is one register. Only DH and DL can be used at the same time as follows

MOV DH,12h //it load 12h into register DH

MOV DL.11h //it load 11h into register DL

2) Program Counter or Extended Instruction Pointer(EIP)

EIP is a 32 bit register in x86 microprocessor family. It is used to get the address of the next instruction to be executed. The value loaded into decides the program execution flow.


Related Solutions

(1) Draw the diagram showing the relationship between SAC and LAC. (2) Draw the diagram showing...
(1) Draw the diagram showing the relationship between SAC and LAC. (2) Draw the diagram showing the relationship between SMC and LMC.
Give chemical examples (draw) for each term and construct a diagram showing the relationship between the...
Give chemical examples (draw) for each term and construct a diagram showing the relationship between the following terms: constitutional isomer, geometric isomer, stereoisomer, and conformer. (Please make explanation as detailed as possible, thank you!)
Draw and describe a systems diagram showing the relationship between atmospheric methane concentration, METHANOGENS, and air...
Draw and describe a systems diagram showing the relationship between atmospheric methane concentration, METHANOGENS, and air temperature. Hint: Metabolism will increase with temperature. Draw and describe a systems diagram showing the relationship between atmospheric methane concentration, METHANOTROPHS, and air temperature. Thank you! A drawing or a simple explanation for each process would be greatly appreciated
Draw a diagram showing the typical relationship between the Average Total Cost (ATC) and Marginal Cost...
Draw a diagram showing the typical relationship between the Average Total Cost (ATC) and Marginal Cost (MC) curves for a firm.
1. Draw a simple diagram of a prokaryotic ribosome, showing where the mRNA fits and the...
1. Draw a simple diagram of a prokaryotic ribosome, showing where the mRNA fits and the three grooves/sites inside. Be sure to label each of the subunits with their correct sizes (in S). Then answer the questions below using the diagram and what you know about translation. a.How does the mRNA know where to bind onto the ribosome? b.Which factor keeps the ribosomal subunits separate before translation begins? ______ c.Which factor guides the initiator tRNA to the correct site? ______...
International Trade 1. Draw a demand and supply diagram showing the use of a tariff by...
International Trade 1. Draw a demand and supply diagram showing the use of a tariff by a large country to improve its national welfare. That is, you must clearly, obviously and unambiguously draw your diagram so that the country has a higher level of welfare with the tariff rather than free trade. Carefully explain your diagram. 2 .Explain why the result you have shown in Question 1 is, in practice, not a convincing argument for protectionism. 3. In no more...
Draw a sectional diagram of an aircraft wing, showing the structure of the wing and the...
Draw a sectional diagram of an aircraft wing, showing the structure of the wing and the control surfaces. Then detail the most appropriate materials used for each of the main parts, mentioning at least 2 metals, 1 CFC composite, and 1 sandwich material and expalin why each is used in that application, with reference to the properties required to withstand the forces involved.
Draw a diagram of a genome replication site in E. coli showing the location of the...
Draw a diagram of a genome replication site in E. coli showing the location of the following components: Helicase; single stranded DNA binding protein; primer; DNA polymerase III; Okasaki fragment; leading strand and lagging strand.
. Draw a diagram showing the demand and supply for aluminum in the United States. Assume...
. Draw a diagram showing the demand and supply for aluminum in the United States. Assume the United States can import as much as it wants at the world price of aluminum without causing the price to increase; and assume that the world price is lower than the U.S. equilibrium price. Be sure to indicate on your graph the quantity of aluminum imported. (Feel free to use hypothetical numbers.) Be sure to briefly describe your diagram in words. 2. Now...
Assume that economy is in a recession. Draw an AS AD diagram showing that. Throughly explain...
Assume that economy is in a recession. Draw an AS AD diagram showing that. Throughly explain the Keynesian approach solving that economic problem.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT